Sven Goetgeluck

Greenhorn
+ Follow
since Jul 16, 2008
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 Sven Goetgeluck

txs,

i'll go for the reverse method, that the way a save my tree,
so maybe with small modifications it would word

s.
12 years ago
Hello,
i like to close all nodes from tree except the selected one,
so when the selection of the tree changes the nodes exand or collaps,

anyone has tips?

wth rgds
Sven
12 years ago
hello,

try
SwingUtilities.UpdateComponentTree(optgr );

when you want to repaint

Sven
13 years ago
hi,

is this open? if yess i"ll post some code to do it

sven
15 years ago
hi,

toke some time to work it out:

initialize table - model - renderer



some dataclass with 6 param, did some quick coding here to test it



table model who has the data and fires the table when data changes



at least renderer ( must code further when selected rows is highlited
15 years ago
hi

you need not to do the setcellrenderer in the mouseclick event
trie to do it before when making the table and jpanel fe

sven
15 years ago
hello,
try this, just addapt the casting, i dont know what your class type of the column is

15 years ago
Hello Again,

Thanks for the help, those examples are from Tame, they are on the net for a while, did check them but, cannot use them, the reason is the following:

i have te make thumb couples, the slider has is used to see cutted fragments from a videoplayer,
if the movie is cutted is 3 parts, i see 6 thumbs on it, when i click one thumb, (fe startframe) the couples thumb(stopframe) has to be highlighted and track between must be colorred.

when i dras a thumb it must send an action to another panel, thats why i need a listener.

i send some code with this reply maybe it is easier to see



15 years ago
hi,

txs for the advice,
it worked to get is managed but is it possible to have an actionlister of properychangelistener on is when dragging a thumb?


with regards
sven
15 years ago
Hello,

Try

SwingUtilities.UpdateComponentTree( treeinstance);

sven
15 years ago
Hi,
I'm looking for "dual-multithumb" slider.
i need to cut movie in frames, every frame had begin and end position, all the frames have to be visible on slider, but when slected a thumb, only his countrepart en line between has to be hightlighted.

anyone has suggestions to start?

with regards
sven
15 years ago
Hi,

I've got a JTable with one cell as jcombo editor, i want to force the combobox to go to edit mode (and also popup) wit pressing the space bar instead of use F2.


public class MyTableComboEditor extends DefaultCellEditor {

private static final long serialVersionUID = 1L;
public MyTableComboEditor(JComboBox combo) {
super(combo);
setClickCountToStart(2);
}

public MyTableComboEditor(JTextField tf) {
super(tf);
setClickCountToStart(2);
}

public void setClickCountToStart(int count) {
super.setClickCountToStart(count);
}


}



with regards
Sven
15 years ago
Hello,

I did this with fonts but it is perfect to do with images

check
http://www.javalobby.org/java/forums/t19387.html

wit regards
sven
15 years ago
hi You tried

SwingUtilities.updateComponentTreeUI( the_thing_ u_want_to_repaint );

sven
15 years ago