This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

positioning of components w/o using layout managers

 
smyle khanna
Ranch Hand
Posts: 54
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in my program i am not using layout managers n settin the layout to null n using setBounds method 2 position the components but when i run the applet the applet is totally blank n no components can be seen,i used the insets method also with no gain
plz help me out
thanx in advance
smyle
 
Craig Wood
Ranch Hand
Posts: 1535
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since StartupApplet2 implements ActionListener it is an ActionListener. Therefore you can use this (ie, StartupApplet2) as the listener in xxxButton.addActionListener(this);

Layout managers are easy to learn to use and much more fun than absolute positoning/null layout managers. Here's a simple suggestion -

[ January 16, 2004: Message edited by: Craig Wood ]
 
wayne hitchcock
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You haven't set the size & location of panel.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic