Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #2098
| From | "A. Farber" <a..farber@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: Clipped image when g. |
| Message-ID | <1184922170.955230.209010@q75g2000hsh.googlegroups.com> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <n1nt939e3ulrh2du5cu0qglue26ab8ikvs@4ax.com> |
| Date | 2011-04-27 15:37 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui On Jul 19, 5:38 am, Roedy Green <see_webs...@mindprod.com.invalid> wrote: > >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 ); No, I'd like the parent frame to be bigger, so that I can drag my Card Component around. Or have I misunderstood you? Regards Alex --- * 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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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