This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository lima. See http://git.chorem.org/lima.git commit 29ee0f5bb6035972d89abcf37ec8738ac71e4107 Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Thu Oct 30 10:58:21 2014 +0100 refs #875 #1043 : report --- .../java/org/chorem/lima/util/ReportDialogView.css | 11 ++++++ .../org/chorem/lima/util/ReportDialogView.jaxx | 46 +++++++++++----------- 2 files changed, 33 insertions(+), 24 deletions(-) diff --git a/lima-swing/src/main/java/org/chorem/lima/util/ReportDialogView.css b/lima-swing/src/main/java/org/chorem/lima/util/ReportDialogView.css new file mode 100644 index 0000000..772781d --- /dev/null +++ b/lima-swing/src/main/java/org/chorem/lima/util/ReportDialogView.css @@ -0,0 +1,11 @@ +#reportDialog { + modal : true; +} + +#textArea { + editable : false; +} + +#okButton { + text : "lima.ok"; +} \ No newline at end of file diff --git a/lima-swing/src/main/java/org/chorem/lima/util/ReportDialogView.jaxx b/lima-swing/src/main/java/org/chorem/lima/util/ReportDialogView.jaxx index 3cf4c51..c87a633 100644 --- a/lima-swing/src/main/java/org/chorem/lima/util/ReportDialogView.jaxx +++ b/lima-swing/src/main/java/org/chorem/lima/util/ReportDialogView.jaxx @@ -20,28 +20,26 @@ #L% --> -<JDialog modal="true"> - <script> - <![CDATA[ - protected void performOk() { - dispose(); - } - ]]> - </script> - - <Table> - <row weightx="1" weighty="1"> - <cell fill="both"> - <JScrollPane id="scrollPane"> - <JTextArea id="textArea" editable="false"/> - </JScrollPane> - </cell> - </row> - <row anchor="east"> - <cell> - <JButton id="okButton" text="lima.ok" - onActionPerformed="performOk()"/> - </cell> - </row> - </Table> +<JDialog id="reportDialog" + layout="{new BorderLayout()}"> + + <import> + java.awt.FlowLayout + </import> + + <JScrollPane id="scrollPane" + constraints="BorderLayout.CENTER"> + + <JTextArea id="textArea"/> + + </JScrollPane> + + <JPanel constraints="BorderLayout.PAGE_END" + layout="{new FlowLayout(FlowLayout.RIGHT)}"> + + <JButton id="okButton" + onActionPerformed="dispose()"/> + + </JPanel> + </JDialog> -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.