Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Applet Load Squence

  Asked By: Leon    Date: Apr 30    Category: Java    Views: 447
  

I have an applet that includes a panel, called mScreen, at run time
which I then wish to draw on.

When the applet is loading I create mScreen and then try and draw the
images onto it.

The probelm I am having is that the images I want to draw are
dependant on the mScreen size, which its self is dependent on the
applet size.

I have tried to get mScreen's Size during the Applets init() and start
() events using mScreen.getSize() but both attempts return a width
and height of 0, during the window close events the same method will
return the values i require.

Has anyone any suggestions on the earlist time the dimension is set
and how I retrieve it.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Applet Load Squence Or get search suggestion and latest updates.




Tagged: