• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Applet components visible

Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am designing an Applet. It has a tree, a button and a text box. But, when the applet loads, none of these components is visible. Wat do i need to do if i need to make these visible?

Thanks in advance
Kejal Shah
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well have you added this components in applet using add()method or not if you have not added in the applet then they will notbe visible .
By default the buttons ,textbox, textfield except frame are visible so you dont have to do anything you just add these components in applet.
Button b1 = new Button("One");
Button b2 = new Button("two");
Button b3 = new Button("three");
public void init(){
Thanks I hope it is now clear to you.
    Bookmark Topic Watch Topic
  • New Topic