Results 1 to 3 of 3
- 10-14-2009, 04:23 AM #1
Member
- Join Date
- Oct 2009
- Posts
- 21
- Rep Power
- 0
Why use layout managers in applet?
Hi,
I am a bit green with Java and don't really understand its philosophy yet. I was wondering if anyone could tell me why layout managers are used in applets rather than just physically laying out with setBounds(...) method. It seems to me that Java applets have fixed dimensions anyway and resizing them is not going to take advantage of auto-re layout as a result of resizing.
Anyway, just wondered what people thought about using setBounds(...) in a applet of fixed dimensions?
Regards
Glenn.
-
I'm not an expert in this, far from it, but can't the user resize the applet if desired? That can surely uglify a null-layout gui. Also, will running the applet on different OS's or different screen resolutions change the "beauty" of the GUI if null layout is used? Just some thoughts of mine.
- 10-14-2009, 04:41 AM #3
Member
- Join Date
- Oct 2009
- Posts
- 21
- Rep Power
- 0
ok, I'm not sure I know what I'm talking about but I have not succeeded in resizing an applet in Google Chrome. Maybe there is a way to pop out an applet from the browser window? or not without programming it that way?
I was thinking that if the setBounds(...) method was used it would display in exactly the same way in every single browser, every single OS, except maybe for the font (possibly). It would however make it inflexible when it came to resizing but I am thinking an embedded applet can't be resized anyway?
Am I making sense?
Similar Threads
-
Download managers
By islamfunny in forum CLDC and MIDPReplies: 4Last Post: 08-15-2008, 01:19 AM -
Java GUI layout
By nick2price in forum New To JavaReplies: 2Last Post: 05-27-2008, 09:42 PM -
Multiple Layout Managers
By AJG in forum New To JavaReplies: 0Last Post: 04-06-2008, 01:43 AM -
Layout Managers
By gmioannou in forum AWT / SwingReplies: 1Last Post: 12-24-2007, 04:12 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks