ShouTao Hao

Greenhorn
+ Follow
since Jan 11, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by ShouTao Hao

I'am studying samples in JBuilder8 Trail.
when I run samples\TextEditor\TextEditor.jpx and click "Foreground color" menu ,The "Messages"
window shows:
D:\JBuilder8\jdk1.4\bin\javaw -classpath "D:\JBuilder8\samples\TextEditor\classes;D:\JBuilder8\lib\dbswing.jar;D:\JBuilder8\lib\dx.jar;D:\JBuilder8\lib\beandt.jar;D:\JBuilder8\jdk1.4\demo\jfc\Java2D\Java2Demo.jar;D:\JBuilder8\jdk1.4\demo\plugin\jfc\Java2D\Java2Demo.jar;D:\JBuilder8\jdk1.4\jre\lib\charsets.jar;D:\JBuilder8\jdk1.4\jre\lib\ext\dnsns.jar;D:\JBuilder8\jdk1.4\jre\lib\ext\ldapsec.jar;D:\JBuilder8\jdk1.4\jre\lib\ext\localedata.jar;D:\JBuilder8\jdk1.4\jre\lib\ext\sunjce_provider.jar;D:\JBuilder8\jdk1.4\jre\lib\im\indicim.jar;D: \JBuilder8\jdk1.4\jre\lib\jaws.jar;D:\JBuilder8\jdk1.4\jre\lib\jce.jar;D:\JBuilder8\jdk1.4\jre\lib\jsse.jar;D:\JBuilder8\jdk1.4\jre\lib\rt.jar;D:\JBuilder8\jdk1.4\jre\lib\sunrsasign.jar;D:\JBuilder8\jdk1.4\lib\dt.jar;D:\JBuilder8\jdk1.4\lib\htmlconverter.jar;D:\JBuilder8\jdk1.4\lib\tools.jar" com.borland.samples.texteditor.TextEditClass
java.lang.IllegalArgumentException: Invalid mnemonic index: 3
at javax.swing.JTabbedPane$Page.setDisplayedMnemonicIndex(JTabbedPane.java:1805)
at javax.swing.JTabbedPane.setDisplayedMnemonicIndexAt(JTabbedPane.java:1385)
at javax.swing.plaf.basic.BasicColorChooserUI$PropertyHandler.propertyChange(BasicColorChooserUI.java:234)
at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:264)
at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:232)
at javax.swing.JComponent.firePropertyChange(JComponent.java:3814)
at javax.swing.JColorChooser.setChooserPanels(JColorChooser.java:446)
at javax.swing.plaf.basic.BasicColorChooserUI.installUI(BasicColorChooserUI.java:79)
at javax.swing.JComponent.setUI(JComponent.java:449)
at javax.swing.JColorChooser.setUI(JColorChooser.java:209)
at javax.swing.JColorChooser.updateUI(JColorChooser.java:220)
at javax.swing.JColorChooser.<init>(JColorChooser.java:183)
at javax.swing.JColorChooser.<init>(JColorChooser.java:171)
at javax.swing.JColorChooser.showDialog(JColorChooser.java:115)
at com.borland.samples.texteditor.TextEditFrame.jMenuItem6_actionPerformed(TextEditFrame.java:374)
at com.borland.samples.texteditor.TextEditFrame_jMenuItem6_actionAdapter.actionPerformed(TextEditFrame.java:500)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1109)
at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
at java.awt.Component.processMouseEvent(Component.java:5093)
at java.awt.Component.processEvent(Component.java:4890)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3598)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3439)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
at java.awt.Container.dispatchEventImpl(Container.java:1609)
at java.awt.Window.dispatchEventImpl(Window.java:1585)
at java.awt.Component.dispatchEvent(Component.java:3439)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
who can tell me why,and how to correct it.thanks
I executed

result is

who can tell me ? why?
[ Edited by Dave to remove smilies and format code ]
[ June 04, 2002: Message edited by: David O'Meara ]