Geza Kovacs

Greenhorn
+ Follow
since Nov 10, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Geza Kovacs

Originally posted by Mihai Radulescu:
Why two times ?



You will receive one or two ItemEvents when the selection changes. The first event is "item deselected" (the old selection). If the original selection is empty, you won't receive this event. The second event is "item selected" (only if the new selection isn't empty).
[ November 10, 2004: Message edited by: Geza ba ]
19 years ago
And register the renderer/editor in the table:

19 years ago

Originally posted by Alon Goldfeld:

I need to insert JRadioButton to Cell in JTable.
I can insert JCheckBox, JComboBox, JTextFeild to JTable,
but DefaultCellEditor hasn't editor for JRadioButton.



You have to use custom renderers and editors.

Quick solution:

Renderer


Editor
19 years ago
Some readings: Keyboard Bindinds in Swing

Replacing the Backspace action:

19 years ago