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


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

Re: how to print the data

From "ashwinijain" <ashwinijain@THRWHITE.remove-dii-this>
Subject Re: how to print the data
Message-ID <1164792549.964399.113260@80g2000cwy.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
References <456c6927$1@dnews.tpgi.com.au>
Date 2011-04-27 15:26 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui

Michael Dunn wrote:
> I'd post a link, but I had to modify a couple of things to get it to work,
> so easier to post the code.
> (don't ask me how it works, I have no idea)
>
>
Thanks Michael.
Your code works.
I have one JPanel which is consisting of many swing components like
JTable, JList, JTextField,etc.
So, whenever i am passing that JPanel to constructor of StandardPrint,
multiple copies of Jtable is getting printed on many papers.
Please help me in solving this problem.

public void actionPerformed(ActionEvent e)
{
  StandardPrint sp = new StandardPrint(b); // b is the instance of
JPanel.
  try{sp.start();}catch(Exception x){} 
}

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

how to print the data wit "ashwinijain" <ashwinijain@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
  Re: how to print the data "Srik" <srik@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
    Re: how to print the data "ashwinijain" <ashwinijain@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
      Re: how to print the data "Srik" <srik@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
  Re: how to print the data "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
    Re: how to print the data "ashwinijain" <ashwinijain@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
      Re: how to print the data "Michael Dunn" <michael.dunn@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
        Re: how to print the data "ashwinijain" <ashwinijain@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
  Re: how to print the data "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
  Re: how to print the data "Ian Wilson" <ian.wilson@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
  Re: how to print the data "Michael Dunn" <michael.dunn@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000

csiph-web