problem with refreshing

H

highland

Hello
I have frame and some objects on it (jbutton, jtable) When i change data
in jtable nothing changes, until i manually change size of frame (by
clicking mouse). What method is called on frame when i change it's size
? How can i "refresh" my frame/table ?


Thanx
Michal
 
H

highland

highland said:
Hello
I have frame and some objects on it (jbutton, jtable) When i change data
in jtable nothing changes, until i manually change size of frame (by
clicking mouse). What method is called on frame when i change it's size
? How can i "refresh" my frame/table ?

and i change my frame size in code:
this.setSize(new Dimension(500,500));
and i want all it's components's positions refresh too,
but all components stay in 'old positions'
But when i change frame size manually everyhing refresh and looks fine.
How can i do it in code ?

Thanx
Michal
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top