Re: Resizing JTextArea issue



On Wed, 19 Oct 2005 19:03:34 +0200, Koos Pol <koos@xxxxxxxxx> wrote or
quoted :

>but that didn't resize the sucker. Which surprised me a lot, as the doc on
>both validate and repaint suggest it should.

If it the container were not invalidated, validate would do nothing.
Usually that comes out in the wash. In your case try it manually to
see what happens.

Keep in mind the container itself won't change size. It will just
shuffle things around inside it.

--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
.



Relevant Pages

  • Re: DBC Corruption
    ... Your problem is atypical - you can, in fact, routinely perform such edits. ... FoxPro I've tried both of the suggested fixes (validate and rebuild the ... RECOVER it will delete the offending tables from the container, ... I'll also mention that the database container contains a local view, ...
    (microsoft.public.fox.vfp.dbc)
  • Re: Problem in using arrow keys with JComboBox
    ... >> Regards, ... Is validate() called in your container? ...
    (comp.lang.java.gui)
  • Re: JScrollPane - strange repainting problem?
    ... if you revalidate the JPanel's container, ... Canadian Mind Products, Roedy Green. ... http://mindprod.com Again taking new Java programming contracts. ...
    (comp.lang.java.gui)
  • Re: How to scroll to element of list?
    ... > VR> ensureIndexIsVisible should be used after adding to Container ... Is it that or does it also require addNotify to be done? ... Canadian Mind Products, Roedy Green. ... Prev by Date: ...
    (comp.lang.java.gui)
  • Re: text overflows div container - it should wrap?
    ... the first is that for some reason the text in my body container flows right ... I thought that text was supposed to stay inside the container and wrap... ... to validate the document and all is good. ... If you use CSS, use it and don't mess about with presentational stuff ...
    (comp.infosystems.www.authoring.stylesheets)