[5312] in java-interest

home help back first fref pref prev next nref lref last post

Label.CENTER

daemon@ATHENA.MIT.EDU (Chris Gokey)
Mon Feb 5 21:17:55 1996

Date: Mon, 5 Feb 1996 19:50:49 -0500
From: ra104@cosc.bsu.umd.edu (Chris Gokey)
To: java-interest@java.sun.com

Hi!

On the unix system I tried the following code:
	setLayout(new GridLayout(2,1));
	add(new Label("Line1",Label.CENTER));
	add(new Label("Line2",Label.CENTER));

It centered each labeled perfectly on the unix system, but when 
I tried it on the PC, it left justified each label, ignoring my
Label.CENTER.

Is this a bug on the PC, or am I forgetting something?

Chris Gokey
ra104@cosc.bsu.umd.edu


-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post