Roman Kennke wrote:
I added OceanTheme support to the JScrollBar. AFAICS this is the last big
missing thing in the OceanTheme that was missing. There are still some
smaller glitches but all in all it already looks quite consistent. What
do you think about making the OceanTheme the default now?
I couldn't try it (easily) because our Free Swing Demo seems broken at
present - see the exception at the end of this mail (I think something
was already posted about it).
But in any case I would say go ahead and switch to Ocean as the default
- if it causes any trouble we can either fix it or switch back before
the next release.
Regards,
Dave
P.S. The demo stack trace:
[EMAIL PROTECTED]:~/classpath-cvs/classpath/examples$ jamvm -classpath
examples.zip gnu.classpath.examples.swing.Demo
fireChangedUpdate not implemented
fireChangedUpdate not implemented
Minor axis layout must be valid after layout
Exception during event dispatch:
java.lang.IllegalArgumentException: position: 2, beginIndex: 27,
endIndex: 28
at javax.swing.text.Segment.setIndex (Segment.java:246)
at gnu.java.text.BaseBreakIterator.following (BaseBreakIterator.java:78)
at java.text.BreakIterator.preceding (BreakIterator.java:341)
at javax.swing.text.Utilities.getBreakLocation (Utilities.java:523)
at javax.swing.text.WrappedPlainView.calculateBreakPosition
(WrappedPlainView.java:285)
at javax.swing.text.WrappedPlainView$WrappedLine.determineNumLines
(WrappedPlainView.java:470)
at javax.swing.text.WrappedPlainView$WrappedLine.<init>
(WrappedPlainView.java:412)
at javax.swing.text.WrappedPlainView.loadChildren
(WrappedPlainView.java:256)
at javax.swing.text.CompositeView.setParent (CompositeView.java:122)
at javax.swing.plaf.basic.BasicTextUI$RootView.setView
(BasicTextUI.java:182)
at javax.swing.plaf.basic.BasicTextUI.setView (BasicTextUI.java:1260)
at javax.swing.plaf.basic.BasicTextUI.modelChanged
(BasicTextUI.java:1284)
at javax.swing.plaf.basic.BasicTextAreaUI.propertyChange
(BasicTextAreaUI.java:111)
at
javax.swing.plaf.basic.BasicTextUI$PropertyChangeHandler.propertyChange
(BasicTextUI.java:420)
at java.beans.PropertyChangeSupport.firePropertyChange
(PropertyChangeSupport.java:388)
at java.beans.PropertyChangeSupport.firePropertyChange
(PropertyChangeSupport.java:366)
at java.awt.Component.firePropertyChange (Component.java:4476)
at javax.swing.JComponent.firePropertyChange (JComponent.java:805)
at javax.swing.JTextArea.setLineWrap (JTextArea.java:413)
at gnu.classpath.examples.swing.TextAreaDemo.createWordWrapPanel
(TextAreaDemo.java:390)
at gnu.classpath.examples.swing.TextAreaDemo.createContent
(TextAreaDemo.java:289)
at gnu.classpath.examples.swing.TextAreaDemo.<init>
(TextAreaDemo.java:252)
at gnu.classpath.examples.swing.Demo.mkMenuBar (Demo.java:211)
at gnu.classpath.examples.swing.Demo.<init> (Demo.java:724)
at gnu.classpath.examples.swing.Demo$LaterMain.run (Demo.java:742)
at java.awt.event.InvocationEvent.dispatch (InvocationEvent.java:200)
at java.awt.EventQueue.dispatchEvent (EventQueue.java:465)
at java.awt.EventDispatchThread.run (EventDispatchThread.java:75)