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


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

Re: about size of the jav

From "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
Subject Re: about size of the jav
Message-ID <1164789818.636765.268890@l12g2000cwl.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
References <1164788226.573798.189320@l12g2000cwl.googlegroups.com>
Date 2011-04-27 15:26 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
ashwinijain wrote:

> l1.setBounds(70,2,500,15);
....
> The GUI is created but whenever i am clicking on print button only
> jtable is getting printed and that also in half size.
> so please help me..

The way to achieve what you want is to learn how
to use Java layouts.

Please help yourself by paying close attention
to the advice you are given.

1)  Recently, you were warned against use of null
layouts and setBounds, while there is no evidence
of null layouts in the code snippets you posted, it
is quite obvious that you are still relying on being
able to setBounds!

2) RGB also mentioned that an SSCCE is much
easier to help you with, as code snippets like you
posted, are almost useless at finding the root problem.
More information on preparing an SSCCE..
<http://www.physci.org/codes/sscce>

Another point I will mention is that it is a good idea
to be *reading* other threads in the forum, as this
matter has been discussed in detail, on another thread
over the last day or so.

Andrew T.

---
 * 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


Thread

about size of the java co "ashwinijain" <ashwinijain@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
  Re: about size of the jav "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
  Re: about size of the jav "Thomas Fritsch" <thomas.fritsch@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000

csiph-web