-
Bug
-
Resolution: Fixed
-
P3
-
1.2.0
-
1.2beta4
-
sparc
-
solaris_2.6
-
Verified
Swing has repaint problems with JDK-1.2beta4-I with Java Plugin and Netscape4.05 on Solaris 2.6 when using Java plugin 1.1.1 and the SwingSet that comes with the JDK-1.2beta4-I demos. When the app first appears, clicking on any tab throws the exceptions pasted below. Eventually the app stops throwing exceptions and instead allows the user to view the tabbed panes; however, each pane is drawn with parts of other panes left behind.
Steps to reproduce:
0) Point you classpath the /usr/local/java/jdk1.2/solaris
1) Install Netscape 4.05 by going to the Netscape website.
2) Install the latest Java Plugin from their external website.
3) Copy the SwingSet directory to your public_html directory.
4) Modify the SwingSetApplet.html file with the Java Plugin converter so that it requires the plugin.
5) Open that page through your /javaweb/~username connection.
6) Click on the tabs.
RESULT: The following exceptions are thrown. Eventually the app stops throwing exceptions and instead allows the user to view the tabbed panes; however, each pane is drawn with parts of other panes left behind.
Exception occurred during event dispatching:
java.lang.NoSuchMethodError: com.sun.java.swing.RepaintManager: method currentManager(Lcom/sun/java/swing/JComponent;)Lcom/sun/java/swing/RepaintManager; not found
at SwingSet$16.stateChanged(Compiled Code)
at com.sun.java.swing.JTabbedPane.fireStateChanged(Compiled Code)
at com.sun.java.swing.JTabbedPane$ModelListener.stateChanged(Compiled Code)
at com.sun.java.swing.DefaultSingleSelectionModel.fireStateChanged(Compiled Code)
at com.sun.java.swing.DefaultSingleSelectionModel.setSelectedIndex(Compiled Code)
at com.sun.java.swing.JTabbedPane.setSelectedIndex(Compiled Code)
at com.sun.java.swing.plaf.basic.BasicTabbedPaneUI$MouseHandler.mousePressed(Compiled Code)
at java.awt.Component.processMouseEvent(Compiled Code)
at java.awt.Component.processEvent(Compiled Code)
at java.awt.Container.processEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.LightweightDispatcher.retargetMouseEvent(Compiled Code)
at java.awt.LightweightDispatcher.processMouseEvent(Compiled Code)
at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventQueue.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
For an example of the repaint problem, see the attached gif file.
Steps to reproduce:
0) Point you classpath the /usr/local/java/jdk1.2/solaris
1) Install Netscape 4.05 by going to the Netscape website.
2) Install the latest Java Plugin from their external website.
3) Copy the SwingSet directory to your public_html directory.
4) Modify the SwingSetApplet.html file with the Java Plugin converter so that it requires the plugin.
5) Open that page through your /javaweb/~username connection.
6) Click on the tabs.
RESULT: The following exceptions are thrown. Eventually the app stops throwing exceptions and instead allows the user to view the tabbed panes; however, each pane is drawn with parts of other panes left behind.
Exception occurred during event dispatching:
java.lang.NoSuchMethodError: com.sun.java.swing.RepaintManager: method currentManager(Lcom/sun/java/swing/JComponent;)Lcom/sun/java/swing/RepaintManager; not found
at SwingSet$16.stateChanged(Compiled Code)
at com.sun.java.swing.JTabbedPane.fireStateChanged(Compiled Code)
at com.sun.java.swing.JTabbedPane$ModelListener.stateChanged(Compiled Code)
at com.sun.java.swing.DefaultSingleSelectionModel.fireStateChanged(Compiled Code)
at com.sun.java.swing.DefaultSingleSelectionModel.setSelectedIndex(Compiled Code)
at com.sun.java.swing.JTabbedPane.setSelectedIndex(Compiled Code)
at com.sun.java.swing.plaf.basic.BasicTabbedPaneUI$MouseHandler.mousePressed(Compiled Code)
at java.awt.Component.processMouseEvent(Compiled Code)
at java.awt.Component.processEvent(Compiled Code)
at java.awt.Container.processEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.LightweightDispatcher.retargetMouseEvent(Compiled Code)
at java.awt.LightweightDispatcher.processMouseEvent(Compiled Code)
at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventQueue.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
For an example of the repaint problem, see the attached gif file.