new line in a Label or a Button
From: Marco (mNmOeScPgAfMl_at_excite.it)
Date: 03/28/05
- Next message: Ahmet Aksoy: "Is there an easy way to make a JFrame AlwaysOnTop?"
- Previous message: IchBin: "Re: newsgroup"
- Next in thread: Steve W. Jackson: "Re: new line in a Label or a Button"
- Reply: Steve W. Jackson: "Re: new line in a Label or a Button"
- Reply: Thomas Weidenfeller: "Re: new line in a Label or a Button"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 28 Mar 2005 09:09:45 +0200
It is possible, in awt, to have a phrase divided in more of one line? I
want display in a Button this:
save
with
name
and not this:
save with name
But if i write:
Button b=new
Button("save"+System.getProperty("line.separator")+"with"+System.getProperty("line.separator")+"name");
I see only strange characters, and not new lines.
- Next message: Ahmet Aksoy: "Is there an easy way to make a JFrame AlwaysOnTop?"
- Previous message: IchBin: "Re: newsgroup"
- Next in thread: Steve W. Jackson: "Re: new line in a Label or a Button"
- Reply: Steve W. Jackson: "Re: new line in a Label or a Button"
- Reply: Thomas Weidenfeller: "Re: new line in a Label or a Button"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]