Re: Problems with JTabbedPane



Andrew Thompson wrote:
On May 18, 11:49 am, Hakan <H...@xxxxxxxxxxxx> wrote:

...As it is, the
JTabbedPane became invalid when I added some content to the JPanels on
it while the JTabbedPane was already visible. Would I have found that on
that SS..

'C'

..CE site?

The answer is not 'on the site', but the answer may
have become apparent in the process of *making* an SSCCE.
Even if the answer did not become clear while making an
SSCCE, the final SSCCE is a convenient 'chunk of code'
that displays the problem for others to see.

This is explained in the page (which you have apparently
still not read).

Additionally, even if making the SSCCE doesn't reveal the problem to you, it is much better at communication of necessary information to those of whom you request assistance, compared to not providing the necessary information.

Otherwise you disempower those who would help from doing so. Is that what you want, OP?

--
Lew
.



Relevant Pages

  • Re: Problems with JTabbedPane
    ... JTabbedPane became invalid when I added some content to the JPanels on ... have become apparent in the process of *making* an SSCCE. ...
    (comp.lang.java.gui)
  • Re: JTable calls setValueAt with index out of bounds
    ... Michael Rauscher wrote: ... It sure has a simple solution but it seems that you didn't provide the necessary information to find it:) ... I've created an SSCCE for you: ... I'm going to have to look into this because at first glance the only difference is the line: ...
    (comp.lang.java.gui)
  • Re: jtabbed pane using different size jpanels for each tab
    ... an ordinary layout problem. ... Yeah i know that which is why it shouldn't take a genius or a whole sscce to show what is wrong. ... I mentioned the JTabbedPane just to give potential readers a better idea of what was going on to hopefully remove the need for an sscce. ...
    (comp.lang.java.gui)