Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Salo
  • Order by date
  1. Salo

    How to swap info between JList's?

    Thanks!! :-) Regards, Salo
  2. Salo

    How to swap info between JList's?

    Maybe I have to be more precise... When copying items from list #1 to #2 the items copied should disappear from list #1 and appear in list #2.
  3. Salo

    How to swap info between JList's?

    Hi, I have a problem that I hope someone have some kind of tip of how to solve. I have to JList's where one is consisting of a list of items and the other is empty (at fisrt). I also have two buttons which is used to move items between the lists. I have solved how to copy an item (or more)...
  4. Salo

    Which event to use when selecting a row in a Table

    I solved the problem! :-) In the frame-class I did like this: public class Main_Frame extends JFrame implements ListSelectionListener { JTable table; ... ListSelectionModel lsm = table.getSelectionModel(); ... //Somewhere in the main code/constructor table.setSelectionModel(lsm); ...
  5. Salo

    Which event to use when selecting a row in a Table

    Hi! I didn't find any help in the examples that comes with the JDK. :( I wondered if it's possible to do it like this: public class Table extends JTable implements ItemSelectable { ... } //Salo
  6. Salo

    Which event to use when selecting a row in a Table

    Which event should be appropriate when selecting a row in a Table. More precisely I want to display the info about the row in textfields when clicking on a row. Anyone got a clue?

Part and Inventory Search

Back
Top