From: <doc...@us...> - 2007-07-25 19:52:23
|
Revision: 119 http://openpcl.svn.sourceforge.net/openpcl/?rev=119&view=rev Author: documentsystems Date: 2007-07-25 12:52:25 -0700 (Wed, 25 Jul 2007) Log Message: ----------- Howard Hoagland. In PosPrintSetupDialog, fixed the bug to make the "Print Form Names" and "Duplex" auto select the "No" radio button if the boolean is false. Previously it was auto selecting the "Yes" radio button if it was true, but wasn't auto selecting the "No" if false. Modified Paths: -------------- openpcl/src/com/openpcl/viewer/printing/PosPrintSetupDialog.java Modified: openpcl/src/com/openpcl/viewer/printing/PosPrintSetupDialog.java =================================================================== --- openpcl/src/com/openpcl/viewer/printing/PosPrintSetupDialog.java 2007-07-25 19:49:33 UTC (rev 118) +++ openpcl/src/com/openpcl/viewer/printing/PosPrintSetupDialog.java 2007-07-25 19:52:25 UTC (rev 119) @@ -558,13 +558,13 @@ if (mPrintChoices.shouldPrintFormNames()) { mPrintFormNamesYesJRadioButton.setSelected(true); } else { - mPrintFormNamesYesJRadioButton.setSelected(false); + mPrintFormNamesNoJRadioButton.setSelected(true); } if (mPrintChoices.shouldDuplex()) { mDuplexYesJRadioButton.setSelected(true); } else { - mDuplexYesJRadioButton.setSelected(false); + mDuplexNoJRadioButton.setSelected(true); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |