5
Contributors
5
Replies
9
Views
6 Years
Discussion Span
Last Post by stultuske
0

@ Taywin, again JTable :-),

<withOutFW> updateUI() == that's nothing to do with JTable, please don't updateUI, don't do that, never, forgot that that exist something as updateUI, right now, its road to the hell (on 1st.exceptions you ends with NPE or RepaintManager)<withOutFW> :-)

near to repaint reality - SwingUtilities.updateComponentTreeUI(topLayOutContainer);

@ bharath54321

1/ hide
myTable.setVisible(false)

2/ remove JComponents from Container
containerName.remove(myTable)
containerName.revalidte();
containerName.repaint();

3/ hard to give you correct answer, because you **** about some forum rules, sure without see your code,

then my answers are (and will be too) only shots to the dark

Edited by mKorbel: n/a

0

Thanks - mKorbel

When using autocomplete, I noticed there used to be a hide() method. After clicking on that, it was struck out with a mention that it has been replaced by the setVisible(boolean) method.

This works fine :)

  • Wayne Riesterer
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.