• Post Reply Bookmark Topic Watch Topic
  • New Topic

Setting Font Problem Please Help!!!!  RSS feed

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i am trying to set the font of my label in my panel using the following code:


but when i hover my mouse over it, there is an error saying "cannot find symbol, method setFont(int)". I am looking at the API for the panel and i can see that this functions is available to the pannel class. Can sombodoy tell me what i have missed out please.

Full code


Api link:
http://java.sun.com/javase/6/docs/api/index.html?overview-summary.html
Thanks
[ August 25, 2007: Message edited by: Luong Vuong ]
 
author
Sheriff
Posts: 8954
17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
GUIs are hard - moving this to the intermediate forum
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!