aspose file tools*
The moose likes Beginning Java and the fly likes How to add components in applet programme Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to add components in applet programme" Watch "How to add components in applet programme" New topic
Author

How to add components in applet programme

Athiveera Kugan
Greenhorn

Joined: Mar 21, 2001
Posts: 15
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


<I> s.a.kugan</I>
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
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).]


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to add components in applet programme