I need to set an appropriate status bar message depending upon which menuitem currently has keyboard focus. Thus, using only the up and down keys to navigate through a JMenu's menuitems, which...
Type: Posts; User: nik_meback
I need to set an appropriate status bar message depending upon which menuitem currently has keyboard focus. Thus, using only the up and down keys to navigate through a JMenu's menuitems, which...
I'm working on an autocomplete JList of Vectors which suggests according to text entry in a JTextField. Thus, at any given point during text alteration i.e. during text entry as well as backspacing...
I need to invoke a JDialog on keypressing F1 to display help in my Swing application.
I wrote a KeyListener for my main frame after setting the focus to it (i.e.
by using...
How can a ButtonGroup containing several 'JCheckBoxMenuItem's be modified so to behave
as a control which allows selection of only one JCheckBoxMenuItem at a time? i.e.
How to implement a group...
Is it possible to make only a certain portion of a JTextArea uneditable? i.e. the rest of the textarea remains editable except a particular portion? Thanks.
I'm developing a popup menu for cut, copy and paste in a JTextArea. The cut and copy menu items will be enabled only when some text in the JTextArea is selected. Similarly, the paste menuitem will be...
Initially I had wrongly designed a swing app gui which used static methods in the main method.
Then I realised I could've done it better. I've designed a rough outline of the app which might be...