Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #2081

Re: Clipped image when g.

From "Roedy Green" <roedy.green@THRWHITE.remove-dii-this>
Subject Re: Clipped image when g.
Message-ID <n1nt939e3ulrh2du5cu0qglue26ab8ikvs@4ax.com> (permalink)
Newsgroups comp.lang.java.gui
References <1184800734.241660.17260@x35g2000prf.googlegroups.com>
Date 2011-04-27 15:37 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
On Wed, 18 Jul 2007 23:18:54 -0000, "A. Farber"
<Alexander.Farber@gmail.com> wrote, quoted or indirectly quoted
someone who said :

>frame.validate();
>		card.setLocation(200, 100);
>
>		frame.setSize(400, 300);
You need to force the size of the card.

Dimension d = new Dimension( width, height );
        this.setPreferredSize( d );
        this.setMinimumSize( d );
        this.setMaximumSize( d );
-- 
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Clipped image when g.draw "A. Farber" <a..farber@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
  Re: Clipped image when g. "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
    Re: Clipped image when g. "A. Farber" <a..farber@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
  Re: Clipped image when g. "Ian Shef" <ian.shef@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
    Re: Clipped image when g. "A. Farber" <a..farber@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
      Re: Clipped image when g. "Ian Shef" <ian.shef@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000

csiph-web