🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java.programmer
Article #209

Re: help with applet layout!

#209
From: Jonas Olsson
Date: Mon, 26 Jul 1999 00:00
21 lines
1908 bytes
Being "creative and calculative" in this way throws portability out the
window. I think it's important to acknowledge all parts of portabilirt,
not just platform-independence. Fixed sized components is like the "best
viewed at 800x600" on web-pages: an attempt at controlling the target
environment. In Java you just shouldn't. There's enough support for
portability to "roll with the punches" in a proper GUI. Not only
component sizes and layouts, but also languages and keyboard navigation
(to name a few).

/jonas

KhAiReEl wrote:
> 
> I have had that problem too. But then I decided to do away with the whole
> Layout stuffs and just be creative and calculative on my own.
> 
> I used the following commands on paint() :
> 1) component.setLocation(int x1, int y1)
> 2) component.reshape(int x1, int y1, int width, int height), or
>     component.setBounds(int x1, int y1, int width, int height).
>
Technical Details
Message-ID: <379C0232.53F052A5@erv.ericsson.se>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37968D90.C39CE214@unix.amherst.edu> <7nbshb$i3n$1@enyo.uwa.edu.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10568c,2b96696819c6d6b2
X-Google-Attributes: gid10568c,public
X-Google-Thread: 10d6db,2b96696819c6d6b2
X-Google-Attributes: gid10d6db,public
X-Google-Thread: 11648c,2b96696819c6d6b2
X-Google-Attributes: gid11648c,public
X-Google-Thread: 10fd6d,2b96696819c6d6b2
X-Google-Attributes: gid10fd6d,public
X-Google-Thread: 10a146,2b96696819c6d6b2
X-Google-Attributes: gid10a146,public
From: Jonas Olsson <Jonas.Olsson@erv.ericsson.se>
Subject: Re: help with applet layout!
Date: 1999/07/26
Message-ID: <379C0232.53F052A5@erv.ericsson.se>
X-Deja-AN: 505288857
Content-Transfer-Encoding: 7bit
References: <37968D90.C39CE214@unix.amherst.edu> <7nbshb$i3n$1@enyo.uwa.edu.au>
X-Accept-Language: en,sv
Content-Type: text/plain; charset=us-ascii
Organization: Ericsson Mobile Data Design
Mime-Version: 1.0
Newsgroups: comp.lang.java.programmer,de.comp.lang.java,fj.comp.lang.java,aus.computers.java,comp.lang.java.gui