Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to add components in applet programme

 
Athiveera Kugan
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any body can Explain how to add components to appear on browser at first display?
I added components in init() method in applet, but the components are not displayed at first display. However it appears only after actuating the paint() method by minimising or maximising the applet viewer!
can anyone explaine in the forum why it is so ?
Thaning u in advance!
s.a.kugan
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you giving the Applet size in the html?
< HTML>< HEAD>< BODY>
< APPLET code=AppletTest.class width=300 height=300>
< /APPLET>< /BODY>< /HTML>
The worlds most simple Applet-


[This message has been edited by Cindy Glass (edited July 19, 2001).]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic