Urgent need of your help for multiple JTables Print from a single JPanel

I need your help to print multiple table content from JPanel
JTables are generated dynamically in a JPanel or JPanels. I need to take print as it is in JPanel

Alternatively you could write a simple class to print JTables with a series of calls to paintString( myString), and various calls to fillRect(...) tfor asthetics. It is quite simple. I currently use such a class that I wrote in under 200 lines of code that has a very professional look, and the print jobs are less than half the size of printing the JTable directly.
The idea being that it takes a JTable as a parameter ( and maybe other params to control color, style, font, etc... ). It would have one primary method, print() which actually handles the printing, It may also uses other methods to control the look of the application.
A problem I have faced with printing a JTable directly is ensuring that the botom row on each page and the top row on every page after the first one lines up correctly. After a while it was simply easier, and more customizable, to write my own print class.
AC

Similar Messages

  • I urgently need a contact email for the sales team can anybody help me with this

    I urgently need a contact email for the sales team regarding an outstanding query, can anybody help me with this please? Thanks in advance.

    Hello 
    Welcome to the EE Community! I'm afraid there isn't an e-mail you can contact the EE Mobile Sales team on, but here's how you can get in touch with them:
    If you're on Twitter, you can tweet them @EE, however If you'd prefer to talk to someone, you can dial:
    150 from your EE mobile phone
    If you're ringing from another phone, it's 01707 315000
    For handy text codes & more, check out this page: http://ee.co.uk/help/get-in-touch Cheers,
    Titanium
    Was my post helpful? Please take 2 seconds to hit the 'Kudos' button below

  • HI ALL SINCE TWO DAYS I AM DOWNLOADING VIBER BUT I AM NOT HAVING MY ACCESS CODE AND EVERY TIME I DELETE THE APPLICATION AND DOWNLOADING IT AGAIN BUT ALWAYS THE SAME RESULT PLEASE I NEED YOUR HELP FOR THE ACCESS CODE.MY PHONE NUMBER IS 0022996969896.THANKS

    HI ALL SINCE TWO DAYS I AM DOWNLOADING VIBER BUT I AM NOT HAVING MY ACCESS CODE AND EVERY TIME I DELETE THE APPLICATION AND DOWNLOADING IT AGAIN BUT ALWAYS THE SAME RESULT PLEASE I NEED YOUR HELP FOR THE ACCESS CODE.MY PHONE NUMBER IS 0022996969896.THANKS IN ADVANCE

    try this website this should help you http://helpme.viber.com/index.php?/Knowledgebase/List/Index/1/iphone

  • One search help for multiple select-options in webdynpro abap

    Hi,
    I need a way to use one search help for multiple select-options fields. My scenario is :
    I have a table for keeping different organizational units' values of different systems. I have pasted some sample data from this table at the end of this mail. On the screen I want to have 1 select-options filed for werks, and 1 select-options filed for vkorg. (In fact I will have more org. unit fields...) In the beginning of my application the user will select sid.
    If the user selects ADS as SID, when he opens search-help for the first org. unit (werks), he will see the records with SID: ADS, VARBL = $WERKS, LANGU = SY-LANGU.
    If the user selects AGT as SID, when he opens search-help for the second org. unit (vkorg), he will see the records with SID: AGT, VARBL = $VKORG, LANGU = SY-LANGU.
    I have created a search-help taking SIDD, VARBL and LANGU as import parameters; used field mapping and bound this search help to my table. I have created 2 context nodes : org1 and org2 having attributes SID, VARBL, VALUE, LANGU .
    I have assigned related SID, VARBL and Langu values to these attributes at runtime as I needed. That way, if I use input field and reference to the related context attributes org1-value and org2-value2 accordingly, search help works well as I want.
    However, when I use select-options field , I can not bind the field to the context data. I can give reference only to ddic structure. Is there any way to reference to a context attribute? I searched for this in SDN, but could find nothing.
    I think I won't be able to use this way. What do you say?
    As I read from forums maybe using OVS help will be suitable for me. But I have to use one search-help for all select-options fields. Do you know how I can determine the active select-options field and pass its name (for instance "werks" ) as parameter to this OVS search help. (Also I'll pass SID and LANGU.)
    MY TABLE (ZBYYT080) CONTENTS:
    SID     VARBL     VALUE     LANGU     VTEXT
    ADS     $WERKS     1     T     Werk 0001
    ADS     $WERKS     11     T     OZYAS  GIDA URETIM YERI
    ADS     $WERKS     5501     T     BOYA GEBZE FABRİKASI
    ADS     $WERKS     5502     T     BOYA CIGLI FABRİKASI
    AGT     $WERKS     2301     T     KAMLI DAMIZLIK
    AGT     $WERKS     9601     T     PANAR DENIZ URETIM YERI
    ADS     $VKORG     22     T     AA KİMYASALLAR
    ADS     $VKORG     8001     T     İINSAAT BOYALARI
    AGT     $VKORG     6500     T     DAMk St.Org
    AGT     $VKORG     5400     T     PANAR St.Org.
    I wish I'm clear enough..
    I will be gald if someone answers me as soon as possible...
    Thanks İn advance..
    MERAL

    Hi,
    Your ques is how to refer to a DDIC search help to refer to selection screen parameter ?
    Am I right ?
    If Yes, then in the interface IF_WD_SELECT_OPTIONS
    method ADD_SELECTION_FIELD, ADD_PARAMETER_FIELD etc
    have importing param like I_VALUE_HELP_TYPE and  I_VALUE_HELP_ID, I_VALUE_HELP_MODE, I_VALUE_HELP_STRUCTURE
    etc which may help you to link your create DDIC Search help to selection screen params.
    this is just a clue from my side. I haven't tried it myself.
    You can go to the where used list of this method and find some sample implementations which use these params.
    Hope this helps.
    Regards
    Manas Dua

  • I cant use the highlight, underline, or strikethrough function in a specific pdf file. The file isnt locked. I used to highlight texts from that file before the latest update. The problem occurs only with that file. Urgent need. Please help. Thanks!

    i cant use the highlight, underline, or strikethrough function in a specific pdf file. The file isnt locked. I used to highlight texts from that file before the latest update. The problem occurs only with that file. Urgent need. Please help. Thanks!

    Chester31,
    Thank you very much for sharing your file with us!  Now that we are able to reproduce the problem at our end, you may stop sharing the file on Acrobat.com.
    Do you know when this problem (for not being able to add new highlight/strikeout/underline) has started?  Did you update your iOS from 7.x to 8.0 recently?
    We will continue investigating the problem and let you know what we find.
    Thank you again for your help.

  • Please I'm frankly tired and in need of your help to activate the iPhone5 it does not account Icloud Old I know of has been good, I did not get before Fargo as a result of your help and thank you and appreciation

    please im tired and in need of your help to activate the iphon5 it does not account icloud old iknow of has been good, idid not get before fargo as aresult of your help and thank you and appreciation

    please im tired and in need of your help to activate the iphon5 it does not account icloud old iknow of has been good, idid not get before fargo as aresult of your help and thank you and appreciation

  • Purchase can be made from the app store yet I couldn't make any purchase from the game app (candy crush) directly, please kindly your help for further direction

    Purchase can be made from the app store yet I couldn't make any purchase from the game app (candy crush) directly, please kindly your help for further direction

    Can I add my existing, licensed apps to my list of 'Purchases' on the Mac App Store so I don't have to buy them twice?
    No. Only apps purchased from the App Store can be re downloaded for free including updates.

  • Calling  multiple  script  logics from  a  single  package

    Team- How  do i  call multiple  script  logics  from a   single  DM  package...?
    I   know  its  possible  and  have seen  a  prototype  but  cant  recollect  or  find  it on sdn...
    Thanks  for  your  time.
    Vishal.

    Hi,
    You can create a master script logic which will include all the other script logics using the *INCLUDE command and call this master script through your DM package.
    Another way is to have multiple tasks in the process chain which is calling a script logic. You can pass separate script logics to each of the tasks.
    I would prefer the first option
    Hope this helps.

  • Generate multiple idoc's from the single application doc(Sales order)

    Hi All,
    Iam working on a requirement where i have to generate multiple idoc's from a single sales order based on sales org, division on header data and plant at item level, if somebody please let me know how to proceed with this requirement.
    Thanks
    Kashif

    Hi,
    You can create a Z-program and call Function Module  <b>MASTER_IDOC_DISTRIBUTE</b>.
    You can make a call to this FM to send the Idoc as many times as u have plants in your Sales Order.
    You can call FM <b>IDOC_OUTPUT_ORDRSP</b> to fill the IDoc structure.
    Then u can keep the materials of only that plant for which u want to pass on the information.
    Thanks,
    Utsah Garg.

  • HELP urgently needed: My Sandberg FireWire for Laptop will not start on my T60

    Let me start with information on my T60:
    OS information: Microsoft Windows XP
    OS version: 5.10.2600   Service Pack 2
    Processor: x86 Family 6 Model 14 Stepping 8
    Memory: 3.135.856 kb
    BIOS version: 2.09  (79ETC9WW)
    Machine type-Model: 1951A47
    I have just got a new Sandberg FireWire for Laptop, a PC Card with 3 6-pins connectiont. After inserting the card in the PC Card slot, the Windows Device Manager tells me that there are problems with the card. Looking at the 1394 Card Properties the status says:
    "This device cannot start. (Code 10) - Click Troubleshoot to start the troubleshooter for this device."
    The troubleshooter did not solve my problem. I have tried disconnecting, re-connection, shut down Windows and start again etc.
    At Sandberg Help Desk they tell me that I have two slots in my laptop, one with a 16 bits bus and another with a 32 bits slots, and I should use the latter. It seems that I can use the lower slide only in my laptop and I cannot push the card into the upper slide. There is not enough room for it.
    Here is what I found on Lenovo's support site on my type & model:
     PC Card
    Conforms to the PC Card Standard 95
    Type II slot
    Both the 16-bit Release 2.1 card standard and the 32-bit CardBus card are supported.
    Have a look at these screen captures.
    What should I do to solve my urgent problem!? 
    Message Edited by pbl_ibm on 10-09-2008 05:10 AM
    Message Edited by pbl_ibm on 10-09-2008 07:27 AM
    Message Edited by pbl_ibm on 10-09-2008 07:45 AM
    Message Edited by pbl_ibm on 10-09-2008 07:45 AM

    garytr23 wrote:
    Sounds to me like a driver configuration problem.  Maybe something bad happened during driver install.  I would recommend uninstalling the device from device manager by right clicking on it and hitting uninstall.  Reboot the computer.  Have a go at it again.  Also, test your pcmcia port functionality by finding and plugging in a different card.  See if that works.  It might need repair.
    Message Edited by garytr23 on 10-09-2008 09:41 AM
    The status right now is:
    The PC Card reader works on my T60
    If I use a Firewire PC Card it will not start - as described above (on T60)
    The PC Card work properly on my T61P - and I succeeded importing a video file from a digital camera using the Fireswire PC Card.
    So what does a wise man do in this situation??
    Please help me as I urgently need to know how to solve this serious issue!! 
    Have you got an idea? Can I import the video in another way??
    Message Edited by perbuch on 10-12-2008 07:55 AM

  • I need Your Help for CAF/EU/GP/API Guided Procedures

    Hi everyone, I need your help about Guided procedures CAF API, I am developing an WEB DYNPRO Callable Object for Guided Procedures, but I need to get the task name of the running proceess on Guided Procedure once time a user initiated it, if is possible? Do you have an examples?
    Thenk you very much

    Hi,
    Yes you can retrieve the task name of the running process. Here is what you need to do.
    1. Get the process instance - IGPRuntimeManager - > getInstance()
    2. Get the IGPActivityInstance(s) from the process instance - processInstance.getChildrenInformation().
    3. Optionaly check if these child activities are Blocks or Actions. If Block drill further to get the Actions using getChildrenInformation().
    4. Retreive the IGPActionInstance(s) from the Block Activities.
    5. Get the IGPActivity object for these Actions using IGPActionInstance.getTemplate() method.
    6.  This object will have a method getTitle() which will retrive you the activity name.
    Hope this helps.
    Thanks
    Kiran

  • Creating Help for multiple modules, multiple versions and multiple locales

    I need to put together a new help solution for a suite of applications. The problem I have is working out how to manage and publish the content. Would someone be able to offer any advice?
    The software has:
    Multiple modules
    Head office and site versions
    UK and US locales
    Multiple software versions to be supported
    Previously I used WinHelp, regenerating the project 6 times per software version to provide all possible permutations.
    I’d like to create a single hosted help solution with a simple home/landing page that allows users to enter a natural search term – the results provided would be drawn from the database or collection of available help topics and ranked for relevance to application/version/locale etc.
    Obviously the right help must be displayed, and I don’t want every topic to be prefixed with: [uk | head office | Module name | v3.5].
    I have RH9 (for html and word), but would upgrade if I needed to.
    I have looked into using Webhelp, Airhelp and even Wordpress but still haven’t worked out the best way to do this. I understand that this is not a normal posting, but if anyone can point me towards any information that may help me I’d very much appreciate it.

    I think build expressions are what I am looking for, but if I need to create a new conditional build tag for every variation (Locale/Installation/Version) it will be become rather unwieldy and since new software versions are released almost quarterly it will soon become challenging to manage.
    OK, I am happy you picked up on that point. It will be challenging.
    Sorry but your requirement is a complex output so too will be the solution.
    Also, can I apply a build tag to an entire topic to include or exclude it from a build for whole topics that are UK or US specific?
    Yes. Whole topics or content can be tagged. You can apply a topic tag to exclude it entirely from some categories and you can have content tags so that variants of the topic can be generated so that a topic could be excluded from US but for UK it could then vary according to version, for example.
    From an authoring perspective I want to create a single help file, but I can’t have users scrolling through hundreds of possible help permutations to find the one they are looking for. Creating one help file will simplify the hosting of the webhelp too.
    You cannot have sub categories so you would create a category for each permutation. I don't think that would amount to hundreds though.
    Another approach would be similar tagging but using multiple layouts. With categories, your output would have a folder for each category and when a user selects what they want, the system goes to the chosen folder. If you created multiple layouts, you would have much the same folders but each one would be a standalone help system. It would be for your developers to install the right help for each user. Not as difficult as it might sound. For a start, the versions would be simple to hook up.
    A lot of places stop updating help once either a new version is released or goes out of support.
    The best advice I can give is cut down the permutations as much as you can.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Enhancing standard (single select)search help for Multiple value selection

    Hi,
    Standard search help for Business Partner (in cProjects) allows only single value selection for input fields. I want to make this multiple selection.
    Is there a way to do it.
    I used an OVS and built a similar search but its difficult to get the standard options like saving to personal value list etc in it.
    It would be good if there is a way to modify the standard search help to allow multiple selection. Any ideas??
    Appreciate your help,
    Thanks,
    Sri
    Edited by: Sri on Sep 9, 2010 8:50 PM
    Edited by: Sri on Sep 9, 2010 8:52 PM

    As far as I know you can't make a standard ABAP dictionary search help return multiple entries - where you get this sort of functionality the searches don't use the standard Elementary search help framework (e.g. organisational structure searches)
    Given that the WDA search help relies on these dictionary based searches, I'd think very much that you couldn't enhance it to return multiple. how you could even return multiple entries into a single UI element input field is also confusing to me.
    I'd suggest creating a freely programmed value help, it would certainly take quite some effort to recreate those personal value lists etc, but it could be done - I don't like OVS, but that just me.

  • SQL Join help for multiple values in single field.

    Hello All,
    I need a help, I have two tables T1 and T2
    Content of T2 will be like
    T2. ID | T2.USERNAME
    ID1 | John
    ID2 | Peter
    ID3 | Mark
    Content of T1 is like
    T1.ID
    ID1 ID2 ID3
    ID2
    ID1 ID3
    I need to join these two tables and replace the T1.ID values with T2.USERNAME, for eg. Row one of T1 should be changed as John Peter Mark.
    Note: ID1 ID2 ID3 is a single value.
    Thanks for your help.
    Sathish.

    At Volder: I have made a slight enhancement. It's the same thing but the other way around as last week's regular expression thread. Remember the "and then the bird flew away"? ;-)
    SQL> create table t1
      2  as
      3  select 'ID1 ID2 ID3' id from dual union all
      4  select 'ID2' from dual union all
      5  select 'ID1 ID3' from dual union all
      6  select 'ID11 ID2' from dual
      7  /
    Tabel is aangemaakt.
    SQL> create table t2
      2  as
      3  select 'ID1' id, 'John' username from dual union all
      4  select 'ID2', 'Peter' from dual union all
      5  select 'ID3', 'Mark' from dual union all
      6  select 'ID11', 'Volder' from dual
      7  /
    Tabel is aangemaakt.
    SQL> select * from t1
      2   model
      3    reference r on (select t2.*, rownum rn from t2)
      4     dimension by (rn)
      5     measures(id, username)
      6    main m
      7     dimension by (id)
      8     measures(cast(id as varchar(200)) str)
      9     rules iterate(100) until (r.id[iteration_number+1] is null)
    10      (str[any] = replace(str[CV()], r.id[iteration_number+1],r.username[iteration_number+1]))
    11  /
    ID          STR
    ID1 ID2 ID3 John Peter Mark
    ID2         Peter
    ID1 ID3     John Mark
    ID11 ID2    John1 Peter
    4 rijen zijn geselecteerd.
    SQL> select id
      2       , str
      3    from t1
      4   model
      5         reference r on (select id,username,rownum rn from t2)
      6           dimension by (rn)
      7           measures (id, username)
      8         main m
      9           dimension by (id)
    10           measures (cast(' ' || id || ' ' as varchar2(200)) str)
    11           rules iterate(1000) until (r.id[iteration_number+1] is null)
    12           ( str[any] = replace
    13             ( str[cv()]
    14             , ' ' || r.id[iteration_number+1] || ' '
    15             , ' ' || r.username[iteration_number+1] || ' '
    16             )
    17           )
    18  /
    ID          STR
    ID1 ID2 ID3  John Peter Mark
    ID2          Peter
    ID1 ID3      John Mark
    ID11 ID2     Volder Peter
    4 rijen zijn geselecteerd.At Sathish: just look at the queries we have to come up with to do such a simple thing. As said many times before, I would also encourage you to change the design instead of executing the queries presented by Volder and me.
    Regards,
    Rob.
    Message was edited by:
    Rob van Wijk
    Just noticed I missed a final TRIM function around "str", so please add this.

  • Urgent Need in Dallas Texas for a Sr. Oracle BPEL Developer

    $$$$$$$$$$$$
    I have an urgent need for a Sr, Oracle BPEL Developer in the Dallas Texas area. With this position, you can interview and start immediately. If you are interested or know of anyone looking please send my way. Or know of companies that use BPEL would be helpful too.
    Warm regards,
    Kim Dobson
    Sr. Account Manager
    Eventus Group Technology Resources
    10100 N. Central Expressway
    Suite 150
    Dallas, TX 75231
    Office 469.916.4857
    Mobile 214.277.2097
    Fax 469.916.3861
    [email protected]

    I was told by Dave Shaffer, Director Product Management, Oracle BPEL Process Manager to do this posting here. I am sorry but this is a critical need for me and was just looking for help.
    Kim Dobson

Maybe you are looking for

  • [svn:osmf:] 10124: Add a few variations of HelloWorld, showing the different ways of adding the DisplayObject to the Sprite.

    Revision: 10124 Author:   [email protected] Date:     2009-09-10 10:40:10 -0700 (Thu, 10 Sep 2009) Log Message: Add a few variations of HelloWorld, showing the different ways of adding the DisplayObject to the Sprite. Modified Paths:     osmf/trunk/a

  • Problem playing video then audiobook

    Has anyone else noticed any issues when going from playing a video file to and audiobook. My ipod will continue to play the audio from the video while the audiobook is playing. If I shuffle songs between switching it works as usual.

  • Please adjust base unit and coversion factor

    Hello Frinds, When I am going to change purchase info record, I am getting the error "Please adjust base unit and coversion factor". Base unit in info record and material master are same. I don't understand reason for this error. can anybody help me

  • HT4528 how do i open a locked iphone 4

    My son went past the allowed password input screens and now the phone will not unlock and i have tried to connect to itunes with no help. Itunes says I need to unlock phone and iphone says I need to connect to Itunes!!!

  • Need help with inserting element into a grid

    Hi, I'm trying to add an element in a 11x11 grid, but the program stop and give me 2 error (identified in the code) and I have no idea on what is wrong with those line. If anyone have any idea, suggestion or an other way to do this, I could use some