Search:

Type: Posts; User: nik_meback

Search: Search took 0.08 seconds.

  1. Replies
    0
    Views
    1,639

    Listening to JMenuItem keyboard focus

    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...
  2. Replies
    0
    Views
    2,485

    JList with Vector for auto-suggest

    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...
  3. Replies
    1
    Views
    2,616

    Maintain focus on JFrame

    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...
  4. Replies
    1
    Views
    1,838

    JCheckBoxMenuItem as JRadioButtonMenuItem

    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...
  5. Replies
    2
    Views
    2,631

    Making a portion of JTextArea uneditable

    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.
  6. Listening to JPopupMenuListener and CaretListener simultaneously

    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...
  7. Replies
    1
    Views
    2,403

    Swing app gui optimization

    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...
Results 1 to 7 of 7