#1 Settings page not showing up after change

open
nobody
None
5
2008-07-04
2008-07-04
Anonymous
No

I changed the unit scale percent under the Page tab in the settings menu, and then reset it using the restore saved button. The slider went to zero, and then I was unable to bring up the settings dialog to change it back. It generated an Illegal Argument Exception, copied from the command line:

Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: (mini
mum <= value <= maximum) is false
at javax.swing.SpinnerNumberModel.<init>(SpinnerNumberModel.java:108)
at javax.swing.SpinnerNumberModel.<init>(SpinnerNumberModel.java:147)
at noteLab.gui.ButtonPair.<init>(ButtonPair.java:70)
at noteLab.gui.ButtonPair.<init>(ButtonPair.java:61)
at noteLab.gui.control.geom.MValueControl.<init>(MValueControl.java:57)
at noteLab.gui.control.drop.SizeControl.<init>(SizeControl.java:58)
at noteLab.gui.settings.panel.PenSettingsPanel.<init>(PenSettingsPanel.j
ava:84)
at noteLab.gui.settings.panel.TriPenSettingsPanel.<init>(TriPenSettingsP
anel.java:48)
at noteLab.gui.settings.SettingsFrame.<init>(SettingsFrame.java:58)
at noteLab.gui.toolbar.file.FileToolBar.actionPerformed(FileToolBar.java
:289)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:19
95)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
a:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242
)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1
220)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMen
uItemUI.java:1261)
at java.awt.Component.processMouseEvent(Component.java:6041)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5806)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322
)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
ad.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

Discussion


Log in to post a comment.