Solved

How do I change the color of titlebar, and titlebar font on the fly?

Posted on 2006-10-26
14
573 Views
Last Modified: 2013-12-03
Please provide me example code on changing the color of the titlebar, and the color of the titlebar font from within a running java program. Basically what I have is a window that shows thread status. If there is an error that occurs I want to be able to change the title bar color to red, from blue, and to change the font color from black to white or yellow.

Worth 500 points.

Thanks,
Rick
0
Comment
Question by:richardsimnett
  • 6
  • 4
  • 3
14 Comments
 
LVL 24

Expert Comment

by:sciuriware
ID: 17810677
Use the
               UIManager.put(........);
methods before you create the first UJFrame.

;JOOP!
0
 
LVL 14

Expert Comment

by:hoomanv
ID: 17810721
0
 
LVL 24

Expert Comment

by:sciuriware
ID: 17810764
UIManager.put(key, new value);

These are applicable:

key=class javax.swing.plaf.basic.BasicPanelUI
value=public static javax.swing.plaf.ComponentUI javax.swing.plaf.basic.BasicPanelUI.createUI(javax.swing.JComponent)
key=javax.swing.plaf.basic.BasicDesktopPaneUI
value=class javax.swing.plaf.basic.BasicDesktopPaneUI
key=javax.swing.plaf.basic.BasicMenuBarUI
value=class javax.swing.plaf.basic.BasicMenuBarUI
key=class javax.swing.plaf.basic.BasicMenuItemUI
value=public static javax.swing.plaf.ComponentUI javax.swing.plaf.basic.BasicMenuItemUI.createUI(javax.swing.JComponent)
key=javax.swing.plaf.basic.BasicPanelUI
value=class javax.swing.plaf.basic.BasicPanelUI
key=class javax.swing.plaf.metal.MetalRootPaneUI
value=public static javax.swing.plaf.ComponentUI javax.swing.plaf.metal.MetalRootPaneUI.createUI(javax.swing.JComponent)
key=class javax.swing.plaf.basic.BasicMenuBarUI
value=public static javax.swing.plaf.ComponentUI javax.swing.plaf.basic.BasicMenuBarUI.createUI(javax.swing.JComponent)
key=javax.swing.plaf.basic.BasicMenuUI
value=class javax.swing.plaf.basic.BasicMenuUI
key=javax.swing.plaf.metal.MetalRootPaneUI
value=class javax.swing.plaf.metal.MetalRootPaneUI
key=javax.swing.plaf.basic.BasicPopupMenuUI
value=class javax.swing.plaf.basic.BasicPopupMenuUI
key=class javax.swing.plaf.basic.BasicMenuUI
value=public static javax.swing.plaf.ComponentUI javax.swing.plaf.basic.BasicMenuUI.createUI(javax.swing.JComponent)
key=class javax.swing.plaf.basic.BasicDesktopPaneUI
value=public static javax.swing.plaf.ComponentUI javax.swing.plaf.basic.BasicDesktopPaneUI.createUI(javax.swing.JComponent)
key=class javax.swing.plaf.basic.BasicPopupMenuUI
value=public static javax.swing.plaf.ComponentUI javax.swing.plaf.basic.BasicPopupMenuUI.createUI(javax.swing.JComponent)
key=javax.swing.plaf.basic.BasicMenuItemUI
value=class javax.swing.plaf.basic.BasicMenuItemUI
key=DesktopIcon.back ground
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=204]
key=Passw ordField.focusInputMap
value=javax.swing.plaf.InputMapUIResource@6ac461
ke y=Button.margin
value=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom= 2,right=14]
key=FileChooser.fileNameLabelMnemonic
value=78
key=windowTe xt
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=activeCaptionBo rder
value=javax.swing.plaf.ColorUIResource[r=153,g=153,b=204]
key=CheckBo x.font
value=javax.swing.plaf.FontUIResource[family=Dialog,name=Dialog,style= bold,size=12]
key=Menu.border
value=javax.swing.plaf.metal.MetalBorders$Me nuItemBorder@182da3d
key=Spinner.arrowButtonBorder
value=javax.swing.plaf. BorderUIResource$CompoundBorderUIResource@1a80a69
key=MenuItem.borderPainted< BR>value=true
key=InternalFrame.borderColor
value=javax.swing.plaf.ColorUI Resource[r=204,g=204,b=204]
key=MenuBar.actionMap
value=javax.swing.plaf.A ctionMapUIResource@14384c2
key=Slider.focusInputMap.RightToLeft
value=java x.swing.plaf.InputMapUIResource@1c0ec97
key=Menu.arrowIcon
value=javax.swi ng.plaf.metal.MetalIconFactory$MenuArrowIcon@ecb281
key=ScrollBar.highlightvalue=javax.swing.plaf.ColorUIResource[r=255,g=255,b=255]
key=Menu.submenuP opupOffsetY
value=-3
key=Menu.submenuPopupOffsetX
value=-4
key=Combo Box.disabledBackground
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=2 04]
key=RootPane.colorChooserDialogBorder
value=javax.swing.plaf.metal.Met alBorders$QuestionDialogBorder@1fa1bb6
key=Tree.font
value=javax.swing.pla f.FontUIResource[family=Dialog,name=Dialog,style=plain,size=12]
key=ProgressB ar.cellSpacing
value=0
key=TabbedPaneUI
value=javax.swing.plaf.metal.Me talTabbedPaneUI
key=Tree.selectionBackground
value=javax.swing.plaf.ColorU IResource[r=204,g=204,b=255]
key=FormattedTextField.inactiveBackground
val ue=javax.swing.plaf.ColorUIResource[r=204,g=204,b=204]
key=TableHeader.cellBo rder
value=javax.swing.plaf.metal.MetalBorders$TableHeaderBorder@1de256f
k ey=InternalFrame.inactiveTitleBackground
value=javax.swing.plaf.ColorUIResour ce[r=204,g=204,b=204]
key=OptionPaneUI
value=javax.swing.plaf.basic.BasicO ptionPaneUI
key=Tree.ancestorInputMap
value=javax.swing.plaf.InputMapUIRes ource@16bd8ea
key=Table.selectionForeground
value=javax.swing.plaf.ColorUI Resource[r=0,g=0,b=0]
key=Label.foreground
value=javax.swing.plaf.ColorUIR esource[r=0,g=0,b=0]
key=ToggleButton.highlight
value=javax.swing.plaf.Col orUIResource[r=255,g=255,b=255]
key=Button.background
value=javax.swing.pl af.ColorUIResource[r=204,g=204,b=204]
key=FormattedTextField.caretForeground< BR>value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=ToggleButtonUI
value=javax.swing.plaf.metal.MetalToggleButtonUI
key=Viewport.font
value=j avax.swing.plaf.FontUIResource[family=Dialog,name=Dialog,style=plain,size=12]
key=InternalFrame.maximizeIcon
value=javax.swing.plaf.metal.MetalIconFactory $InternalFrameMaximizeIcon@e2cb55
key=RadioButtonMenuItem.selectionForeground
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=ToggleButton.shad ow
value=javax.swing.plaf.ColorUIResource[r=153,g=153,b=153]
key=ProgressB ar.font
value=javax.swing.plaf.FontUIResource[family=Dialog,name=Dialog,style =bold,size=12]
key=OptionPane.errorDialog.titlePane.shadow
value=javax.swi ng.plaf.ColorUIResource[r=204,g=102,b=102]
key=EditorPane.background
value =javax.swing.plaf.ColorUIResource[r=255,g=255,b=255]
key=RadioButtonMenuItem. foreground
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=RadioBu tton.textIconGap
value=4
key=RadioButton.light
value=javax.swing.plaf.C olorUIResource[r=255,g=255,b=255]
key=ToggleButton.focus
value=javax.swing .plaf.ColorUIResource[r=153,g=153,b=204]
key=Table.focusCellHighlightBordervalue=javax.swing.plaf.BorderUIResource$LineBorderUIResource@b6e39f
key=Int ernalFrame.minimizeSound
value=sounds/FrameMinimize.wav
key=ProgressBarUI< BR>value=javax.swing.plaf.metal.MetalProgressBarUI
key=OptionPane.warningDial og.titlePane.background
value=javax.swing.plaf.ColorUIResource[r=255,g=204,b= 153]
key=TextArea.caretForeground
value=javax.swing.plaf.ColorUIResource[r =0,g=0,b=0]
key=Button.highlight
value=javax.swing.plaf.ColorUIResource[r= 255,g=255,b=255]
key=CheckBox.focus
value=javax.swing.plaf.ColorUIResource [r=153,g=153,b=204]
key=TextPane.border
value=javax.swing.plaf.basic.Basic Borders$MarginBorder@119dc16
key=Separator.foreground
value=javax.swing.pl af.ColorUIResource[r=102,g=102,b=153]
key=RadioButtonMenuItem.font
value=j avax.swing.plaf.FontUIResource[family=Dialog,name=Dialog,style=bold,size=12]
key=TabbedPane.light
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=204 ]
key=ToolTipUI
value=javax.swing.plaf.metal.MetalToolTipUI
key=Tree.se lectionBorderColor
value=javax.swing.plaf.ColorUIResource[r=153,g=153,b=204]< BR>key=ColorChooser.swatchesRecentSwatchSize
value=java.awt.Dimension[width=1 0,height=10]
key=inactiveCaptionText
value=javax.swing.plaf.ColorUIResourc e[r=0,g=0,b=0]
key=ToolTip.backgroundInactive
value=javax.swing.plaf.Color UIResource[r=204,g=204,b=204]
key=PasswordField.caretForeground
value=java x.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=EditorPane.inactiveForegroundvalue=javax.swing.plaf.ColorUIResource[r=153,g=153,b=153]
key=FileChooser.u pFolderIcon
value=javax.swing.plaf.metal.MetalIconFactory$FileChooserUpFolder Icon@128f6ee
key=ColorChooser.rgbBlueMnemonic
value=66
key=ToolTip.fore ground
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=ToolBar.doc kingBackground
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=204]
k ey=PopupMenuUI
value=javax.swing.plaf.basic.BasicPopupMenuUI
key=ToggleBut ton.disabledText
value=javax.swing.plaf.ColorUIResource[r=153,g=153,b=153]
key=Menu.crossMenuMnemonic
value=true
key=ToggleButton.background
valu e=javax.swing.plaf.ColorUIResource[r=204,g=204,b=204]
key=Slider.focus
val ue=javax.swing.plaf.ColorUIResource[r=153,g=153,b=204]
key=ToolBar.floatingFo reground
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=255]
key=For mattedTextField.font
value=javax.swing.plaf.FontUIResource[family=Dialog,name =Dialog,style=plain,size=12]
key=TabbedPane.background
value=javax.swing.p laf.ColorUIResource[r=153,g=153,b=153]
key=ComboBox.foreground
value=javax .swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=ToggleButton.border
value=jav ax.swing.plaf.BorderUIResource$CompoundBorderUIResource@166afb3
key=RadioButt onMenuItemUI
value=javax.swing.plaf.basic.BasicRadioButtonMenuItemUI
key=V iewportUI
value=javax.swing.plaf.basic.BasicViewportUI
key=ScrollBar.shado w
value=javax.swing.plaf.ColorUIResource[r=153,g=153,b=153]
key=RadioButto nMenuItem.acceleratorForeground
value=javax.swing.plaf.ColorUIResource[r=102, g=102,b=153]
key=InternalFrame.borderDarkShadow
value=javax.swing.plaf.Col orUIResource[r=102,g=102,b=102]
key=FormattedTextField.border
value=javax. swing.plaf.BorderUIResource$CompoundBorderUIResource@12d96f2
key=TabbedPane.t abAreaInsets
value=javax.swing.plaf.InsetsUIResource[top=4,left=2,bottom=0,ri ght=6]
key=TabbedPane.tabInsets
value=javax.swing.plaf.InsetsUIResource[to p=0,left=9,bottom=1,right=9]
key=PopupMenu.background
value=javax.swing.pl af.ColorUIResource[r=204,g=204,b=204]
key=TextArea.focusInputMap
value=jav ax.swing.plaf.InputMapUIResource@110003
key=controlLtHighlight
value=javax .swing.plaf.ColorUIResource[r=255,g=255,b=255]
key=CheckBoxMenuItem.backgroun d
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=204]
key=TextPane.f oreground
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=SplitPan eUI
value=javax.swing.plaf.metal.MetalSplitPaneUI
key=FormattedTextField.b ackground
value=javax.swing.plaf.ColorUIResource[r=255,g=255,b=255]
key=Vi ewport.background
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=204]key=PopupMenu.selectedWindowInputMapBindings
value=[Ljava.lang.Object;@17e4 ca
key=AuditoryCues.defaultCueList
value=[Ljava.lang.Object;@adb1d4
key =ToolBar.font
value=javax.swing.plaf.FontUIResource[family=Dialog,name=Dialog ,style=bold,size=12]
key=Table.scrollPaneBorder
value=javax.swing.plaf.met al.MetalBorders$ScrollPaneBorder@160a26f
key=Tree.collapsedIcon
value=java x.swing.plaf.metal.MetalIconFactory$TreeControlIcon@f39b3a
key=EditorPane.car etBlinkRate
value=500
key=TextField.light
value=javax.swing.plaf.ColorU IResource[r=255,g=255,b=255]
key=MenuItem.background
value=javax.swing.pla f.ColorUIResource[r=204,g=204,b=204]
key=TabbedPane.tabAreaBackground
valu e=javax.swing.plaf.ColorUIResource[r=204,g=204,b=204]
key=Button.focus
val ue=javax.swing.plaf.ColorUIResource[r=153,g=153,b=204]
key=inactiveCaptionBor der
value=javax.swing.plaf.ColorUIResource[r=153,g=153,b=153]
key=CheckBox MenuItem.selectionBackground
value=javax.swing.plaf.ColorUIResource[r=153,g=1 53,b=204]
key=FileChooser.lookInLabelMnemonic
value=73
key=TextArea.bor der
value=javax.swing.plaf.basic.BasicBorders$MarginBorder@1542a75
key=Men u.menuPopupOffsetY
value=0
key=ColorChooser.font
value=javax.swing.plaf .FontUIResource[family=Dialog,name=Dialog,style=plain,size=12]
key=Menu.menuP opupOffsetX
value=0
key=ToolTip.border
value=javax.swing.plaf.BorderUIR esource$LineBorderUIResource@af993e
key=Tree.scrollsOnExpand
value=true
key=InternalFrame.optionDialogBorder
value=javax.swing.plaf.metal.MetalBorde rs$OptionDialogBorder@c62c8
key=textInactiveText
value=javax.swing.plaf.Co lorUIResource[r=153,g=153,b=153]
key=OptionPane.errorDialog.titlePane.backgro und
value=javax.swing.plaf.ColorUIResource[r=255,g=153,b=153]
key=TextFiel d.inactiveBackground
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=204 ]
key=Tree.selectionForeground
value=javax.swing.plaf.ColorUIResource[r=0, g=0,b=0]
key=Menu.selectionBackground
value=javax.swing.plaf.ColorUIResour ce[r=153,g=153,b=204]
key=List.focusCellHighlightBorder
value=javax.swing. plaf.BorderUIResource$LineBorderUIResource@12940b3
key=Tree.background
val ue=javax.swing.plaf.ColorUIResource[r=255,g=255,b=255]
key=InternalFrame.inac tiveTitleForeground
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
ke y=ScrollBar.minimumThumbSize
value=javax.swing.plaf.DimensionUIResource[width =8,height=8]
key=control
value=javax.swing.plaf.ColorUIResource[r=204,g=20 4,b=204]
key=RootPane.questionDialogBorder
value=javax.swing.plaf.metal.Me talBorders$QuestionDialogBorder@156b6b9
key=SplitPane.background
value=jav ax.swing.plaf.ColorUIResource[r=204,g=204,b=204]
key=ToggleButton.font
val ue=javax.swing.plaf.FontUIResource[family=Dialog,name=Dialog,style=bold,size=12]
key=RadioButton.focusInputMap
value=javax.swing.plaf.InputMapUIResource@1 f66cff
key=textText
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=RadioButton.foreground
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b= 0]
key=menu
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=204]
k ey=InternalFrame.iconifyIcon
value=javax.swing.plaf.metal.MetalIconFactory$In ternalFrameMinimizeIcon@1bbf1ca
key=MenuItem.acceleratorFont
value=javax.s wing.plaf.FontUIResource[family=Dialog,name=Dialog,style=plain,size=10]
key=E ditorPane.foreground
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
k ey=SplitPane.shadow
value=javax.swing.plaf.ColorUIResource[r=153,g=153,b=153]
key=OptionPane.buttonAreaBorder
value=javax.swing.plaf.BorderUIResource$E mptyBorderUIResource@1901437
key=OptionPane.warningDialog.titlePane.foregroun d
value=javax.swing.plaf.ColorUIResource[r=102,g=51,b=0]
key=Desktop.ances torInputMap
value=javax.swing.plaf.InputMapUIResource@1f6226
key=Slider.fo cusInsets
value=javax.swing.plaf.InsetsUIResource[top=0,left=0,bottom=0,right =0]
key=InternalFrame.border
value=javax.swing.plaf.metal.MetalBorders$Int ernalFrameBorder@158f9d3
key=TabbedPane.selectHighlight
value=javax.swing. plaf.ColorUIResource[r=255,g=255,b=255]
key=DesktopIcon.border
value=javax .swing.plaf.BorderUIResource$CompoundBorderUIResource@1b60280
key=RadioButton .shadow
value=javax.swing.plaf.ColorUIResource[r=153,g=153,b=153]
key=Chec kBox.border
value=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@ 120bf2c
key=PopupMenu.selectedWindowInputMapBindings.RightToLeft
value=[Lj ava.lang.Object;@e6f7d2
key=Menu.disabledForeground
value=javax.swing.plaf .ColorUIResource[r=153,g=153,b=153]
key=PasswordField.margin
value=javax.s wing.plaf.InsetsUIResource[top=0,left=0,bottom=0,right=0]
key=TextField.margi n
value=javax.swing.plaf.InsetsUIResource[top=0,left=0,bottom=0,right=0]
k ey=ToggleButton.light
value=javax.swing.plaf.ColorUIResource[r=255,g=255,b=25 5]
key=windowBorder
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=2 04]
key=Slider.majorTickLength
value=6
key=OptionPane.questionDialog.bo rder.background
value=javax.swing.plaf.ColorUIResource[r=51,g=102,b=51]
ke y=ToggleButton.foreground
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=Panel.background
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b =204]
key=SliderUI
value=javax.swing.plaf.metal.MetalSliderUI
key=Panel .font
value=javax.swing.plaf.FontUIResource[family=Dialog,name=Dialog,style=p lain,size=12]
key=TabbedPane.foreground
value=javax.swing.plaf.ColorUIReso urce[r=0,g=0,b=0]
key=OptionPane.windowBindings
value=[Ljava.lang.Object;@ 39443f
key=InternalFrame.paletteBorder
value=javax.swing.plaf.metal.MetalB orders$PaletteBorder@da4b71
key=SplitPane.border
value=javax.swing.plaf.ba sic.BasicBorders$SplitPaneBorder@d9660d
key=RadioButtonMenuItem.background
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=204]
key=Table.gridColo r
value=javax.swing.plaf.ColorUIResource[r=153,g=153,b=153]
key=List.focus InputMap
value=javax.swing.plaf.InputMapUIResource@bb0d0d
key=CheckBoxUIvalue=javax.swing.plaf.metal.MetalCheckBoxUI
key=OptionPane.questionSoundvalue=sounds/OptionPaneQuestion.wav
key=InternalFrame.paletteTitleHeight
value=11
key=ScrollBar.foreground
value=javax.swing.plaf.ColorUIResource[ r=204,g=204,b=204]
key=TextPane.caretForeground
value=javax.swing.plaf.Col orUIResource[r=0,g=0,b=0]
key=EditorPaneUI
value=javax.swing.plaf.basic.Ba sicEditorPaneUI
key=RootPane.fileChooserDialogBorder
value=javax.swing.pla f.metal.MetalBorders$QuestionDialogBorder@55e55f
key=DesktopIcon.width
val ue=160
key=OptionPane.errorSound
value=sounds/OptionPaneError.wav
key=R adioButton.border
value=javax.swing.plaf.BorderUIResource$CompoundBorderUIRes ource@145c859
key=ToolBar.shadow
value=javax.swing.plaf.ColorUIResource[r= 153,g=153,b=153]
key=AuditoryCues.allAuditoryCues
value=[Ljava.lang.Object ;@64883c
key=ProgressBar.cellLength
value=1
key=ToggleButton.select
value=javax.swing.plaf.ColorUIResource[r=153,g=153,b=153]
key=ComboBox.ancest orInputMap
value=javax.swing.plaf.InputMapUIResource@2c1e6b
key=Spinner.fo reground
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=204]
key=Lis t.focusInputMap.RightToLeft
value=javax.swing.plaf.InputMapUIResource@811c88< BR>key=TextPaneUI
value=javax.swing.plaf.basic.BasicTextPaneUI
key=ScrollP ane.ancestorInputMap.RightToLeft
value=javax.swing.plaf.InputMapUIResource@78 5d65
key=FormattedTextField.foreground
value=javax.swing.plaf.ColorUIResou rce[r=0,g=0,b=0]
key=Viewport.foreground
value=javax.swing.plaf.ColorUIRes ource[r=0,g=0,b=0]
key=RadioButton.darkShadow
value=javax.swing.plaf.Color UIResource[r=102,g=102,b=102]
key=OptionPane.warningSound
value=sounds/Opt ionPaneWarning.wav
key=infoText
value=javax.swing.plaf.ColorUIResource[r=0 ,g=0,b=0]
key=MenuItem.acceleratorSelectionForeground
value=javax.swing.pl af.ColorUIResource[r=0,g=0,b=0]
key=TextArea.font
value=javax.swing.plaf.F ontUIResource[family=Dialog,name=Dialog,style=plain,size=12]
key=Tree.changeS electionWithFocus
value=true
key=Menu.font
value=javax.swing.plaf.FontU IResource[family=Dialog,name=Dialog,style=bold,size=12]
key=MenuItem.foregrou nd
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=Slider.focusInp utMap
value=javax.swing.plaf.InputMapUIResource@3bc257
key=Tree.editorBord er
value=javax.swing.plaf.BorderUIResource$LineBorderUIResource@15bdc50
ke y=RadioButtonMenuItem.arrowIcon
value=javax.swing.plaf.metal.MetalIconFactory $MenuItemArrowIcon@1dd3812
key=MenuBar.background
value=javax.swing.plaf.C olorUIResource[r=204,g=204,b=204]
key=FileChooser.listViewIcon
value=javax .swing.plaf.metal.MetalIconFactory$FileChooserListViewIcon@9e5c73
key=RootPan eUI
value=javax.swing.plaf.metal.MetalRootPaneUI
key=OptionPane.errorDialo g.titlePane.foreground
value=javax.swing.plaf.ColorUIResource[r=51,g=0,b=0]key=Button.light
value=javax.swing.plaf.ColorUIResource[r=255,g=255,b=255]< BR>key=ColorChooser.rgbGreenMnemonic
value=78
key=RadioButtonMenuItem.acce leratorFont
value=javax.swing.plaf.FontUIResource[family=Dialog,name=Dialog,s tyle=plain,size=10]
key=menuText
value=javax.swing.plaf.ColorUIResource[r= 0,g=0,b=0]
key=Tree.leftChildIndent
value=7
key=ToolBar.border
value =javax.swing.plaf.metal.MetalBorders$ToolBarBorder@1b15692
key=ToggleButton.d arkShadow
value=javax.swing.plaf.ColorUIResource[r=102,g=102,b=102]
key=Me nuItem.commandSound
value=sounds/MenuItemCommand.wav
key=Slider.horizontal ThumbIcon
value=javax.swing.plaf.metal.MetalIconFactory$HorizontalSliderThumb Icon@d42d08
key=RootPane.informationDialogBorder
value=javax.swing.plaf.me tal.MetalBorders$DialogBorder@1d86fd3
key=TextPane.background
value=javax. swing.plaf.ColorUIResource[r=255,g=255,b=255]
key=MenuItem.acceleratorForegro und
value=javax.swing.plaf.ColorUIResource[r=102,g=102,b=153]
key=Internal Frame.restoreDownSound
value=sounds/FrameRestoreDown.wav
key=TabbedPane.da rkShadow
value=javax.swing.plaf.ColorUIResource[r=102,g=102,b=102]
key=Pro gressBar.repaintInterval
value=50
key=CheckBox.background
value=javax.s wing.plaf.ColorUIResource[r=204,g=204,b=204]
key=CheckBox.textIconGap
valu e=4
key=SpinnerUI
value=javax.swing.plaf.basic.BasicSpinnerUI
key=Toggl eButton.textShiftOffset
value=0
key=MenuItem.margin
value=javax.swing.p laf.InsetsUIResource[top=2,left=2,bottom=2,right=2]
key=TextField.highlightvalue=javax.swing.plaf.ColorUIResource[r=255,g=255,b=255]
key=CheckBoxMenuI tem.commandSound
value=sounds/MenuItemCommand.wav
key=ScrollPane.ancestorI nputMap
value=javax.swing.plaf.InputMapUIResource@958bb8
key=FileView.comp uterIcon
value=javax.swing.plaf.metal.MetalIconFactory$TreeComputerIcon@60e12 8
key=OptionPane.buttonClickThreshhold
value=500
key=TextArea.selection Background
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=255]
key=S pinner.font
value=javax.swing.plaf.FontUIResource[family=Dialog,name=Dialog,s tyle=bold,size=12]
key=Panel.foreground
value=javax.swing.plaf.ColorUIReso urce[r=0,g=0,b=0]
key=PasswordField.caretBlinkRate
value=500
key=CheckB oxMenuItem.margin
value=javax.swing.plaf.InsetsUIResource[top=2,left=2,bottom =2,right=2]
key=OptionPane.questionDialog.titlePane.background
value=javax .swing.plaf.ColorUIResource[r=153,g=204,b=153]
key=RadioButton.background
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=204]
key=ScrollBar.width
value=17
key=Menu.acceleratorFont
value=javax.swing.plaf.FontUIResourc e[family=Dialog,name=Dialog,style=plain,size=10]
key=CheckBoxMenuItem.acceler atorFont
value=javax.swing.plaf.FontUIResource[family=Dialog,name=Dialog,styl e=plain,size=10]
key=TextArea.inactiveForeground
value=javax.swing.plaf.Co lorUIResource[r=153,g=153,b=153]
key=FileChooser.directoryOpenButtonMnemonic< BR>value=79
key=PopupMenuSeparatorUI
value=javax.swing.plaf.metal.MetalPop upMenuSeparatorUI
key=TableUI
value=javax.swing.plaf.basic.BasicTableUI
key=Slider.shadow
value=javax.swing.plaf.ColorUIResource[r=153,g=153,b=153]< BR>key=textHighlightText
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]< BR>key=SplitPane.darkShadow
value=javax.swing.plaf.ColorUIResource[r=102,g=10 2,b=102]
key=PopupMenu.popupSound
value=sounds/PopupMenuPopup.wav
key=I nternalFrame.minimizeIcon
value=javax.swing.plaf.metal.MetalIconFactory$Inter nalFrameAltMaximizeIcon@18b3364
key=Spinner.arrowButtonInsets
value=java.a wt.Insets[top=0,left=0,bottom=0,right=0]
key=Spinner.ancestorInputMap
valu e=javax.swing.plaf.InputMapUIResource@1db05b2
key=MenuItemUI
value=javax.s wing.plaf.basic.BasicMenuItemUI
key=RadioButtonMenuItem.checkIcon
value=ja vax.swing.plaf.metal.MetalIconFactory$RadioButtonMenuItemIcon@76fba0
key=Tabb edPane.ancestorInputMap
value=javax.swing.plaf.InputMapUIResource@181ed9e
key=RadioButton.icon
value=javax.swing.plaf.metal.MetalIconFactory$RadioButto nIcon@949f69
key=RadioButton.select
value=javax.swing.plaf.ColorUIResource [r=153,g=153,b=153]
key=PasswordField.foreground
value=javax.swing.plaf.Co lorUIResource[r=0,g=0,b=0]
key=ScrollBar.thumb
value=javax.swing.plaf.Colo rUIResource[r=153,g=153,b=204]
key=MenuBarUI
value=javax.swing.plaf.basic. BasicMenuBarUI
key=OptionPane.errorIcon
value=javax.swing.plaf.IconUIResou rce@1d62270
key=activeCaptionText
value=javax.swing.plaf.ColorUIResource[r =0,g=0,b=0]
key=MenuBar.foreground
value=javax.swing.plaf.ColorUIResource[ r=0,g=0,b=0]
key=Tree.openIcon
value=javax.swing.plaf.metal.MetalIconFacto ry$TreeFolderIcon@1fe1feb
key=TableHeader.font
value=javax.swing.plaf.Font UIResource[family=Dialog,name=Dialog,style=plain,size=12]
key=ColorChooser.rg bRedMnemonic
value=68
key=OptionPane.warningDialog.titlePane.shadow
val ue=javax.swing.plaf.ColorUIResource[r=204,g=153,b=102]
key=FormattedTextField .caretBlinkRate
value=500
key=ScrollBar.background
value=javax.swing.pl af.ColorUIResource[r=204,g=204,b=204]
key=Menu.foreground
value=javax.swin g.plaf.ColorUIResource[r=0,g=0,b=0]
key=TabbedPane.focusInputMap
value=jav ax.swing.plaf.InputMapUIResource@e1899b
key=TextField.font
value=javax.swi ng.plaf.FontUIResource[family=Dialog,name=Dialog,style=plain,size=12]
key=Che ckBox.disabledText
value=javax.swing.plaf.ColorUIResource[r=153,g=153,b=153]< BR>key=AuditoryCues.noAuditoryCues
value=[Ljava.lang.Object;@1113622
key=F ileView.fileIcon
value=javax.swing.plaf.metal.MetalIconFactory$TreeLeafIcon@a 084f8
key=Spinner.background
value=javax.swing.plaf.ColorUIResource[r=204, g=204,b=204]
key=TextField.focusInputMap
value=javax.swing.plaf.InputMapUI Resource@79ed7f
key=TextPane.selectionForeground
value=javax.swing.plaf.Co lorUIResource[r=0,g=0,b=0]
key=ComboBox.selectionBackground
value=javax.sw ing.plaf.ColorUIResource[r=153,g=153,b=204]
key=ScrollBar.track
value=java x.swing.plaf.ColorUIResource[r=204,g=204,b=204]
key=OptionPane.font
value= javax.swing.plaf.FontUIResource[family=Dialog,name=Dialog,style=plain,size=12]key=EditorPane.margin
value=javax.swing.plaf.InsetsUIResource[top=3,left=3, bottom=3,right=3]
key=CheckBox.foreground
value=javax.swing.plaf.ColorUIRe source[r=0,g=0,b=0]
key=Tree.rowHeight
value=0
key=TextField.caretForeg round
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=RadioButtonU I
value=javax.swing.plaf.metal.MetalRadioButtonUI
key=ScrollBar.thumbDarkS hadow
value=javax.swing.plaf.ColorUIResource[r=102,g=102,b=102]
key=ToolBa r.ancestorInputMap
value=javax.swing.plaf.InputMapUIResource@d73c7a
key=Li st.selectionBackground
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=2 55]
key=Tree.focusInputMap
value=javax.swing.plaf.InputMapUIResource@c39a2 0
key=MenuBar.font
value=javax.swing.plaf.FontUIResource[family=Dialog,nam e=Dialog,style=bold,size=12]
key=Slider.trackWidth
value=7
key=RadioBut tonMenuItem.border
value=javax.swing.plaf.metal.MetalBorders$MenuItemBorder@1 bbd23f
key=OptionPane.messageForeground
value=javax.swing.plaf.ColorUIReso urce[r=0,g=0,b=0]
key=TextPane.inactiveForeground
value=javax.swing.plaf.C olorUIResource[r=153,g=153,b=153]
key=FileView.directoryIcon
value=javax.s wing.plaf.metal.MetalIconFactory$TreeFolderIcon@1e845c2
key=ButtonUI
value =javax.swing.plaf.metal.MetalButtonUI
key=Button.shadow
value=javax.swing. plaf.ColorUIResource[r=153,g=153,b=153]
key=TreeUI
value=javax.swing.plaf. metal.MetalTreeUI
key=Menu.acceleratorForeground
value=javax.swing.plaf.Co lorUIResource[r=102,g=102,b=153]
key=TextArea.selectionForeground
value=ja vax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=Button.font
value=javax.sw ing.plaf.FontUIResource[family=Dialog,name=Dialog,style=bold,size=12]
key=Men u.acceleratorSelectionForeground
value=javax.swing.plaf.ColorUIResource[r=0,g =0,b=0]
key=TextField.foreground
value=javax.swing.plaf.ColorUIResource[r= 0,g=0,b=0]
key=Spinner.border
value=javax.swing.plaf.BorderUIResource$Comp oundBorderUIResource@12d96f2
key=InternalFrameUI
value=javax.swing.plaf.me tal.MetalInternalFrameUI
key=CheckBoxMenuItemUI
value=javax.swing.plaf.bas ic.BasicCheckBoxMenuItemUI
key=textHighlight
value=javax.swing.plaf.ColorU IResource[r=204,g=204,b=255]
key=OptionPane.informationSound
value=sounds/ OptionPaneInformation.wav
key=OptionPane.questionDialog.titlePane.foreground< BR>value=javax.swing.plaf.ColorUIResource[r=0,g=51,b=0]
key=TabbedPane.select ed
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=204]
key=List.cell Renderer
value=javax.swing.DefaultListCellRenderer$UIResource[,0,0,0x0,invali d,alignmentX=0.0,alignmentY=null,border=javax.swing.border.EmptyBorder@1d6f122,f lags=8,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,horiz ontalAlignment=LEADING,horizontalTextPosition=TRAILING,iconTextGap=4,labelFor=,t ext=,verticalAlignment=CENTER,verticalTextPosition=CENTER]
key=controlShadow< BR>value=javax.swing.plaf.ColorUIResource[r=153,g=153,b=153]
key=Slider.verti calThumbIcon
value=javax.swing.plaf.metal.MetalIconFactory$VerticalSliderThum bIcon@161dfb5
key=MenuItem.disabledForeground
value=javax.swing.plaf.Color UIResource[r=153,g=153,b=153]
key=CheckBox.icon
value=javax.swing.plaf.met al.MetalIconFactory$CheckBoxIcon@16921fd
key=MenuItem.selectionForeground
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=Table.ancestorInputMa p.RightToLeft
value=javax.swing.plaf.InputMapUIResource@136a43c
key=Scroll Pane.border
value=javax.swing.plaf.metal.MetalBorders$ScrollPaneBorder@589e56
key=ColorChooser.swatchesDefaultRecentColor
value=javax.swing.plaf.ColorU IResource[r=204,g=204,b=204]
key=Menu.margin
value=javax.swing.plaf.Insets UIResource[top=2,left=2,bottom=2,right=2]
key=ToolBar.highlight
value=java x.swing.plaf.ColorUIResource[r=255,g=255,b=255]
key=FileChooser.openButtonMne monic
value=79
key=Button.border
value=javax.swing.plaf.BorderUIResourc e$CompoundBorderUIResource@1a80a69
key=LabelUI
value=javax.swing.plaf.meta l.MetalLabelUI
key=Label.font
value=javax.swing.plaf.FontUIResource[family =Dialog,name=Dialog,style=bold,size=12]
key=OptionPane.informationIcon
val ue=javax.swing.plaf.IconUIResource@198cb3d
key=OptionPane.foreground
value =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=controlText
value=javax .swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=TextArea.background
value=jav ax.swing.plaf.ColorUIResource[r=255,g=255,b=255]
key=Spinner.editorBorderPain ted
value=false
key=Tree.line
value=javax.swing.plaf.ColorUIResource[r= 204,g=204,b=255]
key=PasswordField.font
value=javax.swing.plaf.FontUIResou rce[family=Dialog,name=Dialog,style=plain,size=12]
key=OptionPane.border
v alue=javax.swing.plaf.BorderUIResource$EmptyBorderUIResource@472d48
key=Check BoxMenuItem.disabledForeground
value=javax.swing.plaf.ColorUIResource[r=153,g =153,b=153]
key=SeparatorUI
value=javax.swing.plaf.metal.MetalSeparatorUI< BR>key=FileView.floppyDriveIcon
value=javax.swing.plaf.metal.MetalIconFactory $TreeFloppyDriveIcon@2bc3f5
key=ToolBarUI
value=javax.swing.plaf.metal.Met alToolBarUI
key=ToolTip.borderInactive
value=javax.swing.plaf.BorderUIReso urce$LineBorderUIResource@14e3f41
key=Separator.highlight
value=javax.swin g.plaf.ColorUIResource[r=255,g=255,b=255]
key=TextField.darkShadow
value=j avax.swing.plaf.ColorUIResource[r=102,g=102,b=102]
key=Tree.textForeground
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=InternalFrame.closeI con
value=javax.swing.plaf.metal.MetalIconFactory$InternalFrameCloseIcon@19b0 4e2
key=TextPane.margin
value=javax.swing.plaf.InsetsUIResource[top=3,left =3,bottom=3,right=3]
key=ComboBox.selectionForeground
value=javax.swing.pl af.ColorUIResource[r=0,g=0,b=0]
key=ToolBar.foreground
value=javax.swing.p laf.ColorUIResource[r=0,g=0,b=0]
key=FileChooser.updateButtonMnemonic
valu e=85
key=ScrollBar.allowsAbsolutePositioning
value=true
key=PasswordFie ld.selectionBackground
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=2 55]
key=Label.disabledShadow
value=javax.swing.plaf.ColorUIResource[r=153, g=153,b=153]
key=RadioButtonMenuItem.commandSound
value=sounds/MenuItemCom mand.wav
key=FormattedTextField.selectionBackground
value=javax.swing.plaf .ColorUIResource[r=204,g=204,b=255]
key=PasswordField.background
value=jav ax.swing.plaf.ColorUIResource[r=255,g=255,b=255]
key=CheckBox.textShiftOffset
value=0
key=PopupMenu.border
value=javax.swing.plaf.metal.MetalBorders $PopupMenuBorder@c09554
key=ProgressBar.background
value=javax.swing.plaf. ColorUIResource[r=204,g=204,b=204]
key=FileChooser.cancelButtonMnemonic
va lue=67
key=List.selectionForeground
value=javax.swing.plaf.ColorUIResource [r=0,g=0,b=0]
key=RootPane.defaultButtonWindowKeyBindings
value=[Ljava.lan g.Object;@18bf072
key=Checkbox.select
value=javax.swing.plaf.ColorUIResour ce[r=153,g=153,b=153]
key=MenuBar.highlight
value=javax.swing.plaf.ColorUI Resource[r=255,g=255,b=255]
key=ComboBox.buttonShadow
value=javax.swing.pl af.ColorUIResource[r=153,g=153,b=153]
key=ToggleButton.margin
value=javax. swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14]
key=Menu.backgro und
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=204]
key=info
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=255]
key=Menu.shortcutKe ys
value=[I@56f631
key=TextPane.selectionBackground
value=javax.swing.p laf.ColorUIResource[r=204,g=204,b=255]
key=AuditoryCues.actionMap
value=ja vax.swing.plaf.ActionMapUIResource@13d28e3
key=PasswordField.inactiveBackgrou nd
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=204]
key=FileChoos er.newFolderIcon
value=javax.swing.plaf.metal.MetalIconFactory$FileChooserNew FolderIcon@ec6b00
key=ToggleButton.focusInputMap
value=javax.swing.plaf.In putMapUIResource@164dbd5
key=ComboBoxUI
value=javax.swing.plaf.metal.Metal ComboBoxUI
key=controlHighlight
value=javax.swing.plaf.ColorUIResource[r=2 55,g=255,b=255]
key=InternalFrame.titleFont
value=javax.swing.plaf.FontUIR esource[family=Dialog,name=Dialog,style=bold,size=12]
key=ScrollBar.darkShado w
value=javax.swing.plaf.ColorUIResource[r=102,g=102,b=102]
key=TitledBord er.border
value=javax.swing.plaf.BorderUIResource$LineBorderUIResource@9cb0f4
key=SplitPane.highlight
value=javax.swing.plaf.ColorUIResource[r=255,g=25 5,b=255]
key=MenuBar.border
value=javax.swing.plaf.metal.MetalBorders$Menu BarBorder@125844f
key=FileChooser.detailsViewIcon
value=javax.swing.plaf.m etal.MetalIconFactory$FileChooserDetailViewIcon@f42ad0
key=TextArea.margin
value=javax.swing.plaf.InsetsUIResource[top=0,left=0,bottom=0,right=0]
key=R ootPane.frameBorder
value=javax.swing.plaf.metal.MetalBorders$FrameBorder@130 9e87
key=TableHeaderUI
value=javax.swing.plaf.basic.BasicTableHeaderUI
key=Tree.expandedIcon
value=javax.swing.plaf.metal.MetalIconFactory$TreeContr olIcon@f7c31d
key=TableHeader.background
value=javax.swing.plaf.ColorUIRes ource[r=204,g=204,b=204]
key=CheckBoxMenuItem.checkIcon
value=javax.swing. plaf.metal.MetalIconFactory$CheckBoxMenuItemIcon@1d10a5c
key=InternalFrame.ac tiveTitleForeground
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
ke y=TextArea.foreground
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=Menu.borderPainted
value=true
key=TextField.background
value=javax. swing.plaf.ColorUIResource[r=255,g=255,b=255]
key=ToolTip.hideAccelerator
value=false
key=InternalFrame.borderShadow
value=javax.swing.plaf.ColorUIR esource[r=153,g=153,b=153]
key=RootPane.plainDialogBorder
value=javax.swin g.plaf.metal.MetalBorders$DialogBorder@ff2413
key=Button.select
value=java x.swing.plaf.ColorUIResource[r=153,g=153,b=153]
key=ListUI
value=javax.swi ng.plaf.basic.BasicListUI
key=ScrollBar.focusInputMap.RightToLeft
value=ja vax.swing.plaf.InputMapUIResource@9980d5
key=DesktopIconUI
value=javax.swi ng.plaf.metal.MetalDesktopIconUI
key=ProgressBar.cycleTime
value=3000
k ey=RootPane.errorDialogBorder
value=javax.swing.plaf.metal.MetalBorders$Error DialogBorder@13f7281
key=PanelUI
value=javax.swing.plaf.basic.BasicPanelUI
key=Spinner.arrowButtonSize
value=java.awt.Dimension[width=16,height=5]key=MenuItem.selectionBackground
value=javax.swing.plaf.ColorUIResource[r=1 53,g=153,b=204]
key=TextField.shadow
value=javax.swing.plaf.ColorUIResourc e[r=153,g=153,b=153]
key=ScrollPane.font
value=javax.swing.plaf.FontUIReso urce[family=Dialog,name=Dialog,style=plain,size=12]
key=ScrollBar.thumbShadow
value=javax.swing.plaf.ColorUIResource[r=102,g=102,b=153]
key=ScrollBar.t humbHighlight
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=255]
ke y=TextField.caretBlinkRate
value=500
key=ScrollBar.maximumThumbSize
val ue=javax.swing.plaf.DimensionUIResource[width=4096,height=4096]
key=scrollbar
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=204]
key=MenuItem.ar rowIcon
value=javax.swing.plaf.metal.MetalIconFactory$MenuItemArrowIcon@1dd38 12
key=RootPane.warningDialogBorder
value=javax.swing.plaf.metal.MetalBord ers$WarningDialogBorder@e0cc23
key=CheckBoxMenuItem.borderPainted
value=tr ue
key=window
value=javax.swing.plaf.ColorUIResource[r=255,g=255,b=255]
key=MenuItem.font
value=javax.swing.plaf.FontUIResource[family=Dialog,name=D ialog,style=bold,size=12]
key=OptionPane.messageAreaBorder
value=javax.swi ng.plaf.BorderUIResource$EmptyBorderUIResource@7a1576
key=Tree.leafIcon
va lue=javax.swing.plaf.metal.MetalIconFactory$TreeLeafIcon@1171b26
key=Password Field.selectionForeground
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=Tree.focusInputMap.RightToLeft
value=javax.swing.plaf.InputMapUIResou rce@1f78040
key=TextField.selectionForeground
value=javax.swing.plaf.Color UIResource[r=0,g=0,b=0]
key=DesktopIcon.font
value=javax.swing.plaf.FontUI Resource[family=Dialog,name=Dialog,style=bold,size=12]
key=CheckBox.margin
value=javax.swing.plaf.InsetsUIResource[top=2,left=2,bottom=2,right=2]
key=F ileChooser.homeFolderIcon
value=javax.swing.plaf.metal.MetalIconFactory$FileC hooserHomeFolderIcon@b4e29b
key=FormattedTextField.selectionForeground
val ue=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=FileChooserUI
value=j avax.swing.plaf.metal.MetalFileChooserUI
key=OptionPane.background
value=j avax.swing.plaf.ColorUIResource[r=204,g=204,b=204]
key=Separator.shadow
va lue=javax.swing.plaf.ColorUIResource[r=153,g=153,b=153]
key=ComboBox.buttonBa ckground
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=204]
key=Too lTip.font
value=javax.swing.plaf.FontUIResource[family=Dialog,name=Dialog,sty le=plain,size=12]
key=EditorPane.focusInputMap
value=javax.swing.plaf.Inpu tMapUIResource@18941f7
key=Table.focusCellBackground
value=javax.swing.pla f.ColorUIResource[r=255,g=255,b=255]
key=ColorChooser.background
value=jav ax.swing.plaf.ColorUIResource[r=204,g=204,b=204]
key=FileView.hardDriveIconvalue=javax.swing.plaf.metal.MetalIconFactory$TreeHardDriveIcon@1a06e38
key =ProgressBar.foreground
value=javax.swing.plaf.ColorUIResource[r=153,g=153,b= 204]
key=Table.foreground
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b =0]
key=Tree.hash
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=255 ]
key=CheckBox.focusInputMap
value=javax.swing.plaf.InputMapUIResource@1a4 2792
key=List.font
value=javax.swing.plaf.FontUIResource[family=Dialog,nam e=Dialog,style=bold,size=12]
key=RadioButtonMenuItem.acceleratorSelectionFore ground
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=TitledBorde r.titleColor
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=Passw ordField.border
value=javax.swing.plaf.BorderUIResource$CompoundBorderUIResou rce@2200d5
key=TextField.border
value=javax.swing.plaf.BorderUIResource$Co mpoundBorderUIResource@12d96f2
key=ProgressBar.border
value=javax.swing.pl af.BorderUIResource$LineBorderUIResource@64ab4d
key=Table.ancestorInputMap
value=javax.swing.plaf.InputMapUIResource@12a55aa
key=ScrollPaneUI
value= javax.swing.plaf.metal.MetalScrollPaneUI
key=inactiveCaption
value=javax.s wing.plaf.ColorUIResource[r=204,g=204,b=204]
key=Slider.highlight
value=ja vax.swing.plaf.ColorUIResource[r=255,g=255,b=255]
key=Tree.textBackground
value=javax.swing.plaf.ColorUIResource[r=255,g=255,b=255]
key=EditorPane.sele ctionBackground
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=255]
key=ProgressBar.selectionForeground
value=javax.swing.plaf.ColorUIResource[r= 204,g=204,b=204]
key=Button.disabledText
value=javax.swing.plaf.ColorUIRes ource[r=153,g=153,b=153]
key=ToolBar.background
value=javax.swing.plaf.Col orUIResource[r=204,g=204,b=204]
key=Label.disabledForeground
value=javax.s wing.plaf.ColorUIResource[r=153,g=153,b=153]
key=InternalFrame.paletteCloseIc on
value=javax.swing.plaf.metal.MetalIconFactory$PaletteCloseIcon@5dd582
k ey=RadioButton.margin
value=javax.swing.plaf.InsetsUIResource[top=2,left=2,bo ttom=2,right=2]
key=PasswordField.inactiveForeground
value=javax.swing.pla f.ColorUIResource[r=153,g=153,b=153]
key=PasswordFieldUI
value=javax.swing .plaf.basic.BasicPasswordFieldUI
key=InternalFrame.closeSound
value=sounds /FrameClose.wav
key=FileChooser.filesOfTypeLabelMnemonic
value=84
key=M enuUI
value=javax.swing.plaf.basic.BasicMenuUI
key=TextArea.caretBlinkRate
value=500
key=FileChooser.ancestorInputMap
value=javax.swing.plaf.Inpu tMapUIResource@5a67c9
key=TextPane.focusInputMap
value=javax.swing.plaf.In putMapUIResource@153c375
key=TabbedPane.shadow
value=javax.swing.plaf.Colo rUIResource[r=153,g=153,b=153]
key=InternalFrame.icon
value=javax.swing.pl af.metal.MetalIconFactory$InternalFrameDefaultMenuIcon@618d26
key=RadioButton .textShiftOffset
value=0
key=FormattedTextFieldUI
value=javax.swing.pla f.basic.BasicFormattedTextFieldUI
key=FileChooser.helpButtonMnemonic
value =72
key=TabbedPane.highlight
value=javax.swing.plaf.ColorUIResource[r=255, g=255,b=255]
key=EditorPane.font
value=javax.swing.plaf.FontUIResource[fam ily=Dialog,name=Dialog,style=plain,size=12]
key=SplitPane.ancestorInputMap
value=javax.swing.plaf.InputMapUIResource@79e304
key=List.background
valu e=javax.swing.plaf.ColorUIResource[r=255,g=255,b=255]
key=MenuItem.actionMap< BR>value=javax.swing.plaf.ActionMapUIResource@273686
key=TextPane.caretBlinkR ate
value=500
key=InternalFrame.borderHighlight
value=javax.swing.plaf. ColorUIResource[r=255,g=255,b=255]
key=SplitPaneDivider.border
value=javax .swing.plaf.basic.BasicBorders$SplitPaneDividerBorder@15ad5c6
key=TableHeader .foreground
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=Audito ryCues.cueList
value=[Ljava.lang.Object;@64883c
key=Tree.closedIcon
val ue=javax.swing.plaf.metal.MetalIconFactory$TreeFolderIcon@88e2dd
key=Slider.b ackground
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=204]
key=Ra dioButtonMenuItem.disabledForeground
value=javax.swing.plaf.ColorUIResource[r =153,g=153,b=153]
key=controlDkShadow
value=javax.swing.plaf.ColorUIResour ce[r=102,g=102,b=102]
key=TabbedPane.contentBorderInsets
value=javax.swing .plaf.InsetsUIResource[top=2,left=2,bottom=3,right=3]
key=FileChooser.saveBut tonMnemonic
value=83
key=TextAreaUI
value=javax.swing.plaf.basic.BasicT extAreaUI
key=OptionPane.questionIcon
value=javax.swing.plaf.IconUIResourc e@4fc156
key=Tree.rightChildIndent
value=13
key=Table.font
value=jav ax.swing.plaf.FontUIResource[family=Dialog,name=Dialog,style=plain,size=12]
k ey=OptionPane.minimumSize
value=javax.swing.plaf.DimensionUIResource[width=26 2,height=90]
key=Button.textShiftOffset
value=0
key=OptionPane.question Dialog.titlePane.shadow
value=javax.swing.plaf.ColorUIResource[r=102,g=153,b= 102]
key=DesktopIcon.foreground
value=javax.swing.plaf.ColorUIResource[r=0 ,g=0,b=0]
key=InternalFrame.activeTitleBackground
value=javax.swing.plaf.C olorUIResource[r=204,g=204,b=255]
key=TabbedPane.textIconGap
value=4
ke y=CheckBoxMenuItem.acceleratorForeground
value=javax.swing.plaf.ColorUIResour ce[r=102,g=102,b=153]
key=Desktop.background
value=javax.swing.plaf.ColorU IResource[r=153,g=153,b=204]
key=Table.focusCellForeground
value=javax.swi ng.plaf.ColorUIResource[r=0,g=0,b=0]
key=ColorChooser.foreground
value=jav ax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=CheckBoxMenuItem.arrowIcon
value=javax.swing.plaf.metal.MetalIconFactory$MenuItemArrowIcon@1dd3812
key=M enuItem.border
value=javax.swing.plaf.metal.MetalBorders$MenuItemBorder@1e2ca 7
key=ColorChooserUI
value=javax.swing.plaf.basic.BasicColorChooserUI
k ey=RadioButton.highlight
value=javax.swing.plaf.ColorUIResource[r=255,g=255,b =255]
key=ColorChooser.swatchesSwatchSize
value=java.awt.Dimension[width=1 0,height=10]
key=OptionPane.errorDialog.border.background
value=javax.swin g.plaf.ColorUIResource[r=153,g=51,b=51]
key=InternalFrame.maximizeSound
va lue=sounds/FrameMaximize.wav
key=ComboBox.buttonHighlight
value=javax.swin g.plaf.ColorUIResource[r=255,g=255,b=255]
key=ToolBar.light
value=javax.sw ing.plaf.ColorUIResource[r=255,g=255,b=255]
key=EditorPane.selectionForegroun d
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=TabbedPane.font< BR>value=javax.swing.plaf.FontUIResource[family=Dialog,name=Dialog,style=bold,si ze=12]
key=ComboBox.disabledForeground
value=javax.swing.plaf.ColorUIResou rce[r=153,g=153,b=153]
key=ScrollPane.background
value=javax.swing.plaf.Co lorUIResource[r=204,g=204,b=204]
key=FormattedTextField.inactiveForeground
value=javax.swing.plaf.ColorUIResource[r=153,g=153,b=153]
key=MenuBar.window Bindings
value=[Ljava.lang.Object;@105bd58
key=CheckBoxMenuItem.accelerato rSelectionForeground
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
k ey=CheckBoxMenuItem.border
value=javax.swing.plaf.metal.MetalBorders$MenuItem Border@1d1e730
key=activeCaption
value=javax.swing.plaf.ColorUIResource[r= 204,g=204,b=255]
key=TextField.selectionBackground
value=javax.swing.plaf. ColorUIResource[r=204,g=204,b=255]
key=Button.focusInputMap
value=javax.sw ing.plaf.InputMapUIResource@1a116c9
key=TabbedPane.selectedTabPadInsets
va lue=javax.swing.plaf.InsetsUIResource[top=2,left=2,bottom=2,right=1]
key=Scro llBar.focusInputMap
value=javax.swing.plaf.InputMapUIResource@df1832
key=B utton.foreground
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=T oolBar.separatorSize
value=javax.swing.plaf.DimensionUIResource[width=10,heig ht=10]
key=Table.background
value=javax.swing.plaf.ColorUIResource[r=255,g =255,b=255]
key=RadioButton.disabledText
value=javax.swing.plaf.ColorUIRes ource[r=153,g=153,b=153]
key=MenuBar.shadow
value=javax.swing.plaf.ColorUI Resource[r=153,g=153,b=153]
key=Tree.drawsFocusBorderAroundIcon
value=fals e
key=List.foreground
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]< BR>key=text
value=javax.swing.plaf.ColorUIResource[r=255,g=255,b=255]
key= desktop
value=javax.swing.plaf.ColorUIResource[r=153,g=153,b=204]
key=Butt on.textIconGap
value=4
key=ComboBox.buttonDarkShadow
value=javax.swing. plaf.ColorUIResource[r=102,g=102,b=102]
key=ScrollBarUI
value=javax.swing. plaf.metal.MetalScrollBarUI
key=OptionPane.warningIcon
value=javax.swing.p laf.IconUIResource@633e5e
key=ProgressBar.selectionBackground
value=javax. swing.plaf.ColorUIResource[r=102,g=102,b=153]
key=Slider.foreground
value= javax.swing.plaf.ColorUIResource[r=153,g=153,b=204]
key=MenuItem.acceleratorD elimiter
value=-
key=FormattedTextField.margin
value=javax.swing.plaf.I nsetsUIResource[top=0,left=0,bottom=0,right=0]
key=ToolBar.dockingForeground< BR>value=javax.swing.plaf.ColorUIResource[r=102,g=102,b=153]
key=RadioButton. font
value=javax.swing.plaf.FontUIResource[family=Dialog,name=Dialog,style=bo ld,size=12]
key=RadioButtonMenuItem.borderPainted
value=true
key=Intern alFrame.restoreUpSound
value=sounds/FrameRestoreUp.wav
key=CheckBoxMenuIte m.font
value=javax.swing.plaf.FontUIResource[family=Dialog,name=Dialog,style= bold,size=12]
key=TextFieldUI
value=javax.swing.plaf.metal.MetalTextFieldU I
key=ToolTip.foregroundInactive
value=javax.swing.plaf.ColorUIResource[r= 102,g=102,b=102]
key=RadioButton.focus
value=javax.swing.plaf.ColorUIResou rce[r=153,g=153,b=204]
key=Table.selectionBackground
value=javax.swing.pla f.ColorUIResource[r=204,g=204,b=255]
key=TextPane.font
value=javax.swing.p laf.FontUIResource[family=Dialog,name=Dialog,style=plain,size=12]
key=TabbedP ane.tabRunOverlay
value=2
key=ScrollBar.trackHighlight
value=javax.swin g.plaf.ColorUIResource[r=102,g=102,b=102]
key=Label.background
value=javax .swing.plaf.ColorUIResource[r=204,g=204,b=204]
key=PopupMenu.font
value=ja vax.swing.plaf.FontUIResource[family=Dialog,name=Dialog,style=bold,size=12]
k ey=DesktopPaneUI
value=javax.swing.plaf.basic.BasicDesktopPaneUI
key=Optio nPane.warningDialog.border.background
value=javax.swing.plaf.ColorUIResource[ r=153,g=102,b=51]
key=TabbedPane.focus
value=javax.swing.plaf.ColorUIResou rce[r=102,g=102,b=153]
key=SplitPane.dividerSize
value=10
key=RadioButt onMenuItem.selectionBackground
value=javax.swing.plaf.ColorUIResource[r=153,g =153,b=204]
key=ToolBar.darkShadow
value=javax.swing.plaf.ColorUIResource[ r=102,g=102,b=102]
key=Separator.background
value=javax.swing.plaf.ColorUI Resource[r=255,g=255,b=255]
key=PopupMenu.foreground
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=PopupMenu.actionMap
value=javax.swing.plaf.ActionMapUIResource@193c0cf
key=RadioButtonMenuItem.margin
value=javax.swing.plaf.InsetsUIResource[top=2,left=2,bottom=2,right=2]
key=FormattedTextField.focusInputMap
value=javax.swing.plaf.InputMapUIResource@1576e70
key=CheckBoxMenuItem.foreground
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=EditorPane.border
value=javax.swing.plaf.basic.BasicBorders$MarginBorder@11381e7
key=EditorPane.caretForeground
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=Button.darkShadow
value=javax.swing.plaf.ColorUIResource[r=102,g=102,b=102]
key=ToolTip.background
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=255]
key=CheckBoxMenuItem.selectionForeground
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=TitledBorder.font
value=javax.swing.plaf.FontUIResource[family=Dialog,name=Dialog,style=bold,size=12]
key=ToolBar.floatingBackground
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=204]
key=ToolBarSeparatorUI
value=javax.swing.plaf.basic.BasicToolBarSeparatorUI
key=ComboBox.background
value=javax.swing.plaf.ColorUIResource[r=204,g=204,b=204]
key=ComboBox.font
value=javax.swing.plaf.FontUIResource[family=Dialog,name=Dialog,style=bold,size=12]
key=TextField.inactiveForeground
value=javax.swing.plaf.ColorUIResource[r=153,g=153,b=153]
key=ScrollPane.foreground
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=Menu.selectionForeground
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=InternalFrame.borderLight
value=javax.swing.plaf.ColorUIResource[r=255,g=255,b=255]
key=Tree.foreground
value=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
key=ToggleButton.textIconGap
value=4
key=FocusManagerClassName
value=javax.swing.DefaultFocusManager

Have a try, I don't know which one you need now.

;JOOP!
0
 
LVL 14

Expert Comment

by:hoomanv
ID: 17810877
// Set activeCaption color
UIManager.put("activeCaption", Color.black);

// Disable decorations for the frame
frame.setUndecorated(true);
frame.getRootPane().setWindowDecorationStyle(JRootPane.FRAME);

And I'm not sure if it works for WindowsLookAndFeel but it will in MetalLookAndFeel
0
 
LVL 24

Expert Comment

by:sciuriware
ID: 17812856
Cooperation!
0
 

Author Comment

by:richardsimnett
ID: 17816325
Hey guys,
Ok I tried what you suggested and it didnt work. I think I need to give you more of a description of the code and how it works so here it is. What happens is this. I have a jframe that is loaded, it has a panel. This panel is referenced in a configuration object and is named base. The jpanel is passed in and assigned in the constructor. Later on a thread is spawned by another process. This thread creates component called campaignMonitor which is an extension of jInternalFrame. This newly created component is then added to the panel via the config from within the executing thread.

What I want to be able to do exactly is add a function to my campaignMonitor component which will simply change the title bar color to red, and the text color to yellow.

Here is the campaign monitor component as I have it, how do I make these changes work this thing work?

/*
 * campaignMonitor.java
 *
 * Created on October 23, 2006, 2:02 AM
 */

package bannerTracker;

import java.beans.PropertyVetoException;
import javax.swing.*;
/**
 *
 * @author  Rick
 */
public class campaignMonitor extends javax.swing.JInternalFrame
{
   
    /** Creates new form campaignMonitor */
    public campaignMonitor()
    {
        initComponents();
        setVisible(true);
        try
        {
            setSelected(true);
        } catch (PropertyVetoException ex)
        {
        }
    }
   
    void setErrorNotification()
    {
        // Set the title bar color to red
        // Set activeCaption color
        UIManager.put("activeCaption", Color.red);
       
        // Disable decorations for the frame
        setUndecorated(true);
        getRootPane().setWindowDecorationStyle(JRootPane.FRAME);
        //set the title bar text color to yellow
       
    }
   
    void titleSet(String title)
    {
         setTitle(title);
    }
   
    void setRenderData(int rendered, int total, int timeelapsed)
    {
        jLabel5.setText("Rendered: " + rendered);
        jLabel7.setText("RPM: " + (int) (rendered/timeelapsed));
        int renderedBar = (int) (100f * ((float) rendered)/total);
        jProgressBar1.setValue(renderedBar);
        jLabel3.setText(renderedBar + "%");
    }
   
    void setDeliveryData(int delivered, int total, int timeelapsed)
    {
          jLabel6.setText("Delivered: " + delivered);
          jLabel8.setText("DPM: " + (int) (delivered/timeelapsed));
          int deliveredBar = (int) (100f * ((float) delivered)/total);
          jProgressBar2.setValue(deliveredBar);
          jLabel4.setText(deliveredBar + "%");
    }
   
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">                          
    private void initComponents()
    {
        jLabel1 = new javax.swing.JLabel();
        jProgressBar1 = new javax.swing.JProgressBar();
        jLabel2 = new javax.swing.JLabel();
        jProgressBar2 = new javax.swing.JProgressBar();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jSeparator1 = new javax.swing.JSeparator();
        jLabel5 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        jLabel8 = new javax.swing.JLabel();

        setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
        setIconifiable(true);
        jLabel1.setText("Renderer:");

        jLabel2.setText("Delivery:");

        jLabel3.setText("0%");

        jLabel4.setText("0%");

        jLabel5.setText("Rendered: 0");

        jLabel6.setText("Delivered: 0");

        jLabel7.setText("RPM: 0");

        jLabel8.setText("DPM: 0");

        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(layout.createSequentialGroup()
                .addContainerGap()
                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
                    .add(jSeparator1)
                    .add(layout.createSequentialGroup()
                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                            .add(jLabel1)
                            .add(jLabel2))
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
                            .add(jProgressBar2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .add(jProgressBar1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 294, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jLabel3)
                            .add(jLabel4)))
                    .add(layout.createSequentialGroup()
                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false)
                            .add(org.jdesktop.layout.GroupLayout.LEADING, jLabel6, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .add(org.jdesktop.layout.GroupLayout.LEADING, jLabel5, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 177, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                        .add(15, 15, 15)
                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jLabel8, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .add(jLabel7, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
                .addContainerGap(12, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(layout.createSequentialGroup()
                .addContainerGap()
                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(jLabel5)
                    .add(jLabel7))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(jLabel6)
                    .add(jLabel8))
                .add(7, 7, 7)
                .add(jSeparator1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 10, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                    .add(jLabel3)
                    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                        .add(jLabel1)
                        .add(jProgressBar1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jLabel2)
                    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                        .add(jLabel4)
                        .add(jProgressBar2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(13, Short.MAX_VALUE))
        );
        pack();
    }// </editor-fold>                        
   
   
    // Variables declaration - do not modify                    
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JProgressBar jProgressBar1;
    private javax.swing.JProgressBar jProgressBar2;
    private javax.swing.JSeparator jSeparator1;
    // End of variables declaration                  
   
}
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

Author Comment

by:richardsimnett
ID: 17840724
ummm... ok I havent gotten any posts on this, and I still dont have a working solution.... can someone please give me some suggestions?

-Rick
0
 
LVL 24

Expert Comment

by:sciuriware
ID: 17840753
Better no answer than a bad one.
0
 
LVL 14

Expert Comment

by:hoomanv
ID: 17842633
> Ok I tried what you suggested and it didnt work
This
http://www.experts-exchange.com/Programming/Programming_Languages/Java/Q_22038283.html#17810721
and This
http://www.experts-exchange.com/Programming/Programming_Languages/Java/Q_22038283.html#17810877
Both work fine

-------------------------------
    void setErrorNotification()
    {
        // Set the title bar color to red
        // Set activeCaption color
        UIManager.put("activeCaption", Color.red);
       
        // Disable decorations for the frame
        setUndecorated(true);
        getRootPane().setWindowDecorationStyle(JRootPane.FRAME);
        //set the title bar text color to yellow
       
    }

I'm not sure but may be you should call them before the frame gets constructed
0
 
LVL 14

Expert Comment

by:hoomanv
ID: 17843039
Or call this before constructing the first JFrame
JFrame.setDefaultLookAndFeelDecorated(true);
0
 

Author Comment

by:richardsimnett
ID: 17881473
hoomanv,
I cant construct it prior to initialization, reason being that the color is meant to provide a error indication to the particular thread associated with the jInternalFrame.

Thanks,
Rick
0
 
LVL 24

Accepted Solution

by:
sciuriware earned 500 total points
ID: 17881557
Then try:

     JInternalFrame f = new JInternalFrame();
          f.setUndecorated(true);
          f.getRootPane().setWindowDecorationStyle(JRootPane.ERROR_DIALOG);

Colours it red.

;JOOP!
0
 
LVL 24

Expert Comment

by:sciuriware
ID: 18058933
:)
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn how to implement Singleton Design Pattern in Java.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now