Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Look and Feel

 
Andy Rayner
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello i am trying to change the look and feel or the program by using a combo box, when i get the selected item it doesnt update the frame. here is my code



I tried using


but this give me the error message:

viewClass.java:104: updateComponentTreeUI(java.awt.Component) in javax.swing.SwingUtilities cannot be applied to (<anonymous java.awt.event.ActionListener>
SwingUtilities.updateComponentTreeUI(this);

also the GTK one seems to be incorrected have i got the right address??

Regards
Andy
[ March 06, 2005: Message edited by: Andy Rayner ]
 
Igor Stojanovic
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

download aplication fromlink and look how to use source code for aplication.



kind regards
Igor
[ March 07, 2005: Message edited by: Igor Stojanovic ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic