Search:

Type: Posts; User: nik_meback

Search: Search took 0.25 seconds.

  1. Replies
    0
    Views
    670

    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
    1,655

    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
    1,408

    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. 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
    1,333

    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
    1,288

    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