This is the forum for JIDE Common Layer which is open sourced at
https://github.com/jidesoft/jide-oss. Please note, JIDE technical support doesn't monitor this forum as often as other forums. Please consider subscribe for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.
Moderator: JIDE Support
Forum rules
Community driven forum for open source JIDE Common Layer. JIDE technical support doesn't monitor this forum as often as other forums. If you only use JIDE Common Layer, please consider subscribing for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.
by trungmtran » Wed Sep 29, 2010 4:39 pm
I am trying to set the JideTabbedPane shape to SHAPE_ECLIPSE3X, but it keep showing the SHAPE_OFFICE2003. I tested on both Window Vista and Ubuntu, SHAPE_ECLIPSE3x seems not able to display. Any Idea?
-
trungmtran
-
- Posts: 2
- Joined: Fri Sep 24, 2010 6:55 pm
by JIDE Support » Wed Sep 29, 2010 5:11 pm
Please try the following code and see if it works.
- Code: Select all
LookAndFeelFactory.installJideExtension(LookAndFeelFactory.ECLIPSE3X_STYLE);
_tabbedPane.setTabShape(JideTabbedPane.SHAPE_ECLIPSE3X);
_tabbedPane.setColorTheme(JideTabbedPane.COLOR_THEME_WIN2K);
Thanks,
JIDE Software Technical Support Team
-
JIDE Support
- Site Admin
-
- Posts: 37263
- Joined: Sun Sep 14, 2003 10:49 am
-
by trungmtran » Thu Sep 30, 2010 11:38 am
Using your suggestion, I got NPE as shown below, Do i need to install or set something before using LookandFeelFactory.
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.jidesoft.swing.FastGradientPainter.createGradientTile(FastGradientPainter.java:84)
at com.jidesoft.swing.FastGradientPainter.drawGradient(FastGradientPainter.java:47)
at com.jidesoft.swing.JideSwingUtilities.fillGradient(JideSwingUtilities.java:2405)
at com.jidesoft.plaf.eclipse.Eclipse3xJideTabbedPaneUI.paintTabBackground(Eclipse3xJideTabbedPaneUI.java:734)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.paintTab(BasicJideTabbedPaneUI.java:928)
at com.jidesoft.plaf.eclipse.Eclipse3xJideTabbedPaneUI.paintTabArea(Eclipse3xJideTabbedPaneUI.java:204)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$ScrollableTabPanel.paintComponent(BasicJideTabbedPaneUI.java:7877)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JViewport.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JSplitPane.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JSplitPane.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JLayeredPane.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
at java.awt.Container.paint(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.jidesoft.swing.FastGradientPainter.createGradientTile(FastGradientPainter.java:84)
at com.jidesoft.swing.FastGradientPainter.drawGradient(FastGradientPainter.java:47)
at com.jidesoft.swing.JideSwingUtilities.fillGradient(JideSwingUtilities.java:2405)
at com.jidesoft.plaf.eclipse.Eclipse3xJideTabbedPaneUI.paintTabBackground(Eclipse3xJideTabbedPaneUI.java:734)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.paintTab(BasicJideTabbedPaneUI.java:928)
at com.jidesoft.plaf.eclipse.Eclipse3xJideTabbedPaneUI.paintTabArea(Eclipse3xJideTabbedPaneUI.java:204)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$ScrollableTabPanel.paintComponent(BasicJideTabbedPaneUI.java:7877)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JViewport.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JSplitPane.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JSplitPane.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JLayeredPane.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
at java.awt.Container.paint(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.jidesoft.swing.FastGradientPainter.createGradientTile(FastGradientPainter.java:84)
at com.jidesoft.swing.FastGradientPainter.drawGradient(FastGradientPainter.java:47)
at com.jidesoft.swing.JideSwingUtilities.fillGradient(JideSwingUtilities.java:2405)
at com.jidesoft.plaf.eclipse.Eclipse3xJideTabbedPaneUI.paintTabBackground(Eclipse3xJideTabbedPaneUI.java:734)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.paintTab(BasicJideTabbedPaneUI.java:928)
at com.jidesoft.plaf.eclipse.Eclipse3xJideTabbedPaneUI.paintTabArea(Eclipse3xJideTabbedPaneUI.java:204)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$ScrollableTabPanel.paintComponent(BasicJideTabbedPaneUI.java:7877)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JViewport.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.jidesoft.swing.FastGradientPainter.createGradientTile(FastGradientPainter.java:84)
at com.jidesoft.swing.FastGradientPainter.drawGradient(FastGradientPainter.java:47)
at com.jidesoft.swing.JideSwingUtilities.fillGradient(JideSwingUtilities.java:2405)
at com.jidesoft.plaf.eclipse.Eclipse3xJideTabbedPaneUI.paintTabBackground(Eclipse3xJideTabbedPaneUI.java:734)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.paintTab(BasicJideTabbedPaneUI.java:928)
at com.jidesoft.plaf.eclipse.Eclipse3xJideTabbedPaneUI.paintTabArea(Eclipse3xJideTabbedPaneUI.java:204)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$ScrollableTabPanel.paintComponent(BasicJideTabbedPaneUI.java:7877)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JViewport.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.jidesoft.swing.FastGradientPainter.createGradientTile(FastGradientPainter.java:84)
at com.jidesoft.swing.FastGradientPainter.drawGradient(FastGradientPainter.java:47)
at com.jidesoft.swing.JideSwingUtilities.fillGradient(JideSwingUtilities.java:2405)
at com.jidesoft.plaf.eclipse.Eclipse3xJideTabbedPaneUI.paintTabBackground(Eclipse3xJideTabbedPaneUI.java:734)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.paintTab(BasicJideTabbedPaneUI.java:928)
at com.jidesoft.plaf.eclipse.Eclipse3xJideTabbedPaneUI.paintTabArea(Eclipse3xJideTabbedPaneUI.java:204)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$ScrollableTabPanel.paintComponent(BasicJideTabbedPaneUI.java:7877)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JViewport.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.jidesoft.swing.FastGradientPainter.createGradientTile(FastGradientPainter.java:84)
at com.jidesoft.swing.FastGradientPainter.drawGradient(FastGradientPainter.java:47)
at com.jidesoft.swing.JideSwingUtilities.fillGradient(JideSwingUtilities.java:2405)
at com.jidesoft.plaf.eclipse.Eclipse3xJideTabbedPaneUI.paintTabBackground(Eclipse3xJideTabbedPaneUI.java:734)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.paintTab(BasicJideTabbedPaneUI.java:928)
at com.jidesoft.plaf.eclipse.Eclipse3xJideTabbedPaneUI.paintTabArea(Eclipse3xJideTabbedPaneUI.java:204)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$ScrollableTabPanel.paintComponent(BasicJideTabbedPaneUI.java:7877)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JViewport.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.jidesoft.swing.FastGradientPainter.createGradientTile(FastGradientPainter.java:84)
at com.jidesoft.swing.FastGradientPainter.drawGradient(FastGradientPainter.java:47)
at com.jidesoft.swing.JideSwingUtilities.fillGradient(JideSwingUtilities.java:2405)
at com.jidesoft.plaf.eclipse.Eclipse3xJideTabbedPaneUI.paintTabBackground(Eclipse3xJideTabbedPaneUI.java:734)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.paintTab(BasicJideTabbedPaneUI.java:928)
at com.jidesoft.plaf.eclipse.Eclipse3xJideTabbedPaneUI.paintTabArea(Eclipse3xJideTabbedPaneUI.java:204)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$ScrollableTabPanel.paintComponent(BasicJideTabbedPaneUI.java:7877)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JViewport.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JSplitPane.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JSplitPane.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JLayeredPane.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
at java.awt.Container.paint(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.jidesoft.swing.FastGradientPainter.createGradientTile(FastGradientPainter.java:84)
at com.jidesoft.swing.FastGradientPainter.drawGradient(FastGradientPainter.java:47)
at com.jidesoft.swing.JideSwingUtilities.fillGradient(JideSwingUtilities.java:2405)
at com.jidesoft.plaf.eclipse.Eclipse3xJideTabbedPaneUI.paintTabBackground(Eclipse3xJideTabbedPaneUI.java:734)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.paintTab(BasicJideTabbedPaneUI.java:928)
at com.jidesoft.plaf.eclipse.Eclipse3xJideTabbedPaneUI.paintTabArea(Eclipse3xJideTabbedPaneUI.java:204)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$ScrollableTabPanel.paintComponent(BasicJideTabbedPaneUI.java:7877)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JViewport.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JSplitPane.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JSplitPane.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JLayeredPane.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
at java.awt.Container.paint(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.jidesoft.swing.FastGradientPainter.createGradientTile(FastGradientPainter.java:84)
at com.jidesoft.swing.FastGradientPainter.drawGradient(FastGradientPainter.java:47)
at com.jidesoft.swing.JideSwingUtilities.fillGradient(JideSwingUtilities.java:2405)
at com.jidesoft.plaf.eclipse.Eclipse3xJideTabbedPaneUI.paintTabBackground(Eclipse3xJideTabbedPaneUI.java:734)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.paintTab(BasicJideTabbedPaneUI.java:928)
at com.jidesoft.plaf.eclipse.Eclipse3xJideTabbedPaneUI.paintTabArea(Eclipse3xJideTabbedPaneUI.java:204)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$ScrollableTabPanel.paintComponent(BasicJideTabbedPaneUI.java:7877)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JViewport.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.jidesoft.swing.FastGradientPainter.createGradientTile(FastGradientPainter.java:84)
at com.jidesoft.swing.FastGradientPainter.drawGradient(FastGradientPainter.java:47)
at com.jidesoft.swing.JideSwingUtilities.fillGradient(JideSwingUtilities.java:2405)
at com.jidesoft.plaf.eclipse.Eclipse3xJideTabbedPaneUI.paintTabBackground(Eclipse3xJideTabbedPaneUI.java:734)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.paintTab(BasicJideTabbedPaneUI.java:928)
at com.jidesoft.plaf.eclipse.Eclipse3xJideTabbedPaneUI.paintTabArea(Eclipse3xJideTabbedPaneUI.java:204)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$ScrollableTabPanel.paintComponent(BasicJideTabbedPaneUI.java:7877)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JViewport.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JSplitPane.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JSplitPane.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JLayeredPane.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
at java.awt.Container.paint(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
-
trungmtran
-
- Posts: 2
- Joined: Fri Sep 24, 2010 6:55 pm
by JIDE Support » Thu Sep 30, 2010 11:44 am
Looks like JIDE extension is not correctly installed. The key "DockableFrame.activeTitleBackground" in UIDefaults does not contain a valid value. Please check out JIDE JideTabbedPaneDemo FYI. In that demo, you could switch the style freely.
Thanks,
- Attachments
-
JideTabbedPaneDemo.java
- (30.5 KiB) Downloaded 1544 times
JIDE Software Technical Support Team
-
JIDE Support
- Site Admin
-
- Posts: 37263
- Joined: Sun Sep 14, 2003 10:49 am
-
Return to JIDE Common Layer Open Source Project Discussion (Community Driven)
Who is online
Users browsing this forum: No registered users and 8 guests