-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.1.5
-
x86
-
windows_95
Name: rk38400 Date: 04/15/98
Hi!
When I change LookAndFeel with the following code
private void setLookAndFeel(LookAndFeel newLookAndFeel)
{
try
{
UIManager.setLookAndFeel(newLookAndFeel);
}
catch (UnsupportedLookAndFeelException ex)
{
System.err.println(Const.ERROR_SIGN + ex.toString());
}
SwingUtilities.updateComponentTreeUI((Component)getRootPane());
}
than I get the following exception:
C:\projects\onkodemo>appletviewer run.html
Exception occurred during event dispatching:
java.lang.NullPointerException:
at com.sun.java.swing.text.DefaultCaret$UpdateHandler.actionPerformed(DefaultCaret.java:673)
at com.sun.java.swing.Timer.fireActionPerformed(Timer.java:124)
at com.sun.java.swing.Timer$DummyComponent.processEvent(Timer.java:309)
at com.sun.java.swing.Timer$DummyComponent.fireEvent(Timer.java:315)
at com.sun.java.swing.Timer.fire(Timer.java:289)
at com.sun.java.swing.TimerQueue$TimerPanel.update(TimerQueue.java:367)
at java.awt.Component.dispatchEventImpl(Component.java:1725)
at java.awt.Container.dispatchEventImpl(Container.java:939)
at java.awt.Component.dispatchEvent(Component.java:1704)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:63)
Please, help!!!
Dominik
-----------------------------------------------------------------
Dominik Roblek, dipl. ing. mat.
Marand d.o.o.
Cesta na Brdo 49,
SI-1000 Ljubljana
###@###.###
http://www.marand.si
Tel : +386 (0)61 273481, +386 (0)61 273486
Fax : +386 (0)61 333-388
(Review ID: 27880)
======================================================================
- duplicates
-
JDK-4118126 While loading text in 'progress bar' tab, changing look causes an exception
-
- Resolved
-