Re: Changing JFrame components at runtime



lego_lax wrote:
OK - perhaps for the sake of clarity, it might have been
better to refer to it by its actual (italian?) then put
in brackets your best translation (PanelGrill?).
Italian. It means GridPanel

I suspected your translation would be better than my
tranlsation.. OK "Google Tranlsate's translation". ;-)
....
I solved removing old panel and constructing a new one with right
numbers of components.

Glad you sorted it.

I am not sure if that is the best solution but it works.

I am still not sure of your entire requirement (some
GUI's would be better suited to a CardLayout - for
example, if you need the earlier panels again, you
can 'flip' to them very quickly), but removing old
components and adding new ones is a common
approach.

Don't forget to call validate() after a remove/add.

Andrew T.

.



Relevant Pages

  • Re: Changing JFrame components at runtime
    ... better to refer to it by its actual (italian?) then put ... in brackets your best translation. ... It means GridPanel ...
    (comp.lang.java.gui)
  • Re: Italian News: Fed to play exhibition pre Wimbl.
    ... me with a translator that won't make bollocks out of this italian tennis ... In that case translation becomes a process of approximation, ... Don't use an off-the-shelf language to language dictionary. ... Good dictionaries already contain many such ...
    (rec.sport.tennis)
  • Re: Giuseppe Verdi, author of LITTLE RABBIT FOO-FOO tune
    ... Hopping through the forest of Google in a search for Italian ... whose English translation might look like ... Field-mice he finds, then hammers with head-blows, ... "You've lost your last chance. ...
    (rec.music.filk)
  • Re: Help - Association title from Italian
    ... stamp that was withdrawn from use in the 1930s. ... I received an "official" translation of my Associazione Provinciale ... title of their sodality and the dizzying revolutions of Italian governments. ...
    (sci.lang.translation)
  • Re: Merry,,, Happy...
    ... possible advantages of a translation of the Mahabharata from Sanskrit ... into Hindi with a translation of Virgil from Latin into Italian. ...
    (news.software.readers)