Word Processor format options
From: yorkmac (yorkmac_at_hotmail.com)
Date: 03/29/05
- Next message: Christian Kaufhold: "Re: JTable Problem (table does not show rows and columns)"
- Previous message: Jamie: "Re: Look And Feel - ButtonUI"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 29 Mar 2005 07:33:15 -0500
i am building a word processor thast includes format options such as bold
underline font styles, sizes excetera. they are added to the format menu
bar.
Action action = new StyledEditorKit.ItalicAction();
action.putValue(Action.NAME ,"Italic");
item = formatMenu.add(action);
my problem is that when i run the program when ever a press the enter
button the action goes back to its default setting. any suggestion would
be helpful
- Next message: Christian Kaufhold: "Re: JTable Problem (table does not show rows and columns)"
- Previous message: Jamie: "Re: Look And Feel - ButtonUI"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]