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

gridbag layout in panels

 
achana chan
Ranch Hand
Posts: 277
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
Is it possible to have a different set of gridbag contraints on each of the panel e.g. if I define 3 panels in my applet, can I have 1 set of constraints for each panel ?
TIA
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.
 
achana chan
Ranch Hand
Posts: 277
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Cindy.
In one panel, I alternated between .RELATIVE and .REMAINDER, that comes out find.
In the second (adjacent) panel, I wanted to display an image, somehow that went awry, with only either parts of the image displayed or none at all.
I tried modifying the width and height parameters inside the html <APPLET...> tag, that didn't help much other than to move the displayed panel around.
Here is the code snippet, looks relatively simple, but I couldn't get the display on the second panel...
eek help ...
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic