Help Please, Problem in displaying same  JTables on two JPanels

Problem in displaying same JTables on two JPanels. In an application, I have a dynamic display of JTables on one JPanel. After a print preview button action, I have to bring same JTables on another JPanels, while taking this the previous JPanels content(JTables) become invisible? Why this happened? may be single component. Is the Cloning process nedded?

Hi,
you can add a component to one container only. If you try to add it to a second container, it will be removed from the first.
You could try holding one member of the TableModel and set that one to both tables.
Greets,
Christian

Similar Messages

  • Help please. Extended display won't work on MBP and AOC 20" 1600 x 900  60HZ monitor. Mirror display does. I've a mini dvd to vga converter cable. Should this work?

    Help please. Extended display won't work on MBP and AOC 20" 1600 x 900  60HZ monitor. Mirror display does. I've a mini dvd to vga converter cable. Should this work?

    I have the same mini display port adapter and Belkin DVI-HDMI cable (but a Panasonic 42" Plasma HDTV) so just set this up on it to see if I could duplicate your problem, unfortunately for you (but good for me) I can't.
    I connected the adapter+HDMI cable before switching the HDTV on and then powered up the MBP. It (the HDTV) came up with my background right away (it's set at Mirror not extended Desktop) and when I run System Preferences/Displays get the following. Sorry but all I can confirm is that adapter+cable combination should work ...
    Try doing a Parameter RAM reset - hold down command/option/p/r keys at start up and wait for three chimes before releasing the keys?

  • Help please problem with export

    I had some problems with safari on my imac (OS X) so I did some "repairs" I ended up deleting some keychains and I believe that is what cause the problem I'm having. However I don't know how to fix it.
    When I try to export RAW images from my Lacie rugged external hard drive to the desktop into jpg I get this error...
    "An internal error has occurred: ?:0: attempt to index field 'rootFile' (a nil value)"
    I have a deadline very soon (in about an hour) and need help please.

    Fantastic, these things always happen at the most inconvenient time!!!
    When you've got the job out of the way reboot the Mac and try the export to desktop again. If it is still broken then in Disk Utility run Repair Permissions on the Mac and La Cie.
    Who do I send the bill to???

  • Can someone help please - problems with ios7 update

    Hi can someone help please since updating with ios7 on my iphone 5 i message will not work and I have an extermely poor battery life I can watch it going down.

    Hi can someone help please since updating with ios7 on my iphone 5 i message will not work and I have an extermely poor battery life I can watch it going down.

  • Problem with displaying same field in three columns

    Hi
    I am using reports developer 11g and I have created a report which displays only one field (column), which is id_number as output but I have a problem now.
    I would like to display the id_number in three columns on one page to save paper, that is, I want to show the first 20 (1 - 20) id_numbers in one column going down, then display the next 20 id_numbers (21 - 40) on the second column on the same page and the next 20 (41 - 60) on the third column still on the same page. If there are more than 60 id_numbers, they should be printed on the next page again in three columns, and so on until all the id_numbers are displayed. How can I achieve this? Could you please assist me?
    Thanks.

    Andreas, I think I am missing something here. I have done what you have said but still the id_numbers are all being displayed
    in the first column and jumps on to the next page without displaying the id_numbers across the page in columns.
    My data model contains a group with not only the id_number but has other fields which I am not displaying.
    I am only using the other fields just to use them in conditions to select only id_numbers which meet a certain criteria which I then display in the report.
    I have created a repeating frame for that group and changed the orientation property to Down/Across. Within that frame, I have a field for the id_number
    which I want displayed in three columns, running across the page as I have already told you. Please help.
    Thanks.

  • VGA CRT will not "wake up"... help please.  Reset display settings?

    Hello everybody,
    I have a mirror drive doors G4 Tower, Dual 1.25 GHz.
    I have an ADC and a DVI out from the computer. Just had damage to my old studio display so I am attempting to use just one CRT running from the DVI... w/ a DVI to VGA adapter.
    The first time I tried this w/ a CRT it worked fine... I played around w/ monitor settings... still worked fine. Shut down... unhooked CRT and moved that CRT away.
    Tried using it with another CRT and the new CRT never started up... remained on stand-by/sleep.
    I tried with another moniter... this time a LCD/Flatscreen... again VGA and it did the same thing, EXCEPT... this time when I connected the LCD to the adapter and then plugged the adapter into the DVI on my tower the LCD screen would turn on for about 1 second and display my login page. The picture was not perfect though... it was distorted someway.
    Went back to the first CRT... now this one didn't work.
    I think that maybe I have to reset my display settings with some sort of shortcut or something... maybe it's on the wrong frequency?
    I don't know... any help much appreciated. I hate having to use this PC.
    Thanks,
    James
    G4 Dual 1.25 Mirrored Drive Doors Mac OS X (10.4.5) Some NvDia card
    G4 Dual 1.25 Mirrored Drive Doors   Mac OS X (10.4.5)   Some Nvidia Graphics card w/ DVI to VGA adapter

    Can you start up in "safe mode"? If so, you can reset your display settings and reboot. If not, you have a problem either with your video card or your DVI/VGA adaptor

  • VGA CRT will not "wake up".. help please. Reset display settings shortcut?

    Hello everybody,
    I have a mirror drive doors G4 Tower, Dual 1.25 GHz.
    I have an ADC and a DVI out from the computer. Just had damage to my old studio display so I am attempting to use just one CRT running from the DVI... w/ a DVI to VGA adapter.
    The first time I tried this w/ a CRT it worked fine... I played around w/ monitor settings... still worked fine. Shut down... unhooked CRT and moved that CRT away.
    Tried using it with another CRT and the new CRT never started up... remained on stand-by/sleep.
    I tried with another moniter... this time a LCD/Flatscreen... again VGA and it did the same thing, EXCEPT... this time when I connected the LCD to the adapter and then plugged the adapter into the DVI on my tower the LCD screen would turn on for about 1 second and display my login page. The picture was not perfect though... it was distorted someway.
    Went back to the first CRT... now this one didn't work.
    I think that maybe I have to reset my display settings with some sort of shortcut or something... maybe it's on the wrong frequency?
    I don't know... any help much appreciated. I hate having to use this PC.
    Thanks,
    James

    Turned out to be a faulty DVI to VGA adapter.

  • Help please, problem when updating my N8

    i updated my nokia N8 to the softwar version 025.007. 
    since im having trouble with my phone:
    - everytime i shift from one widget to the other it takes many time to load
    - im having trouble installing applications from ovi store: i download the application, than it tells me that it requires more Mb. after that, an error message appears on the screen telling me to redownload it from smart installer.but it doesn't work.
    im not also able to download any update anymore. i attached a picture for the error message.
    please help me to solve my problem.
    Attachments:
    Capture.JPG ‏70 KB

    How much space have you available on "C"?
    Sounds like your low on either C or Ram.
    Do the 8 second reset, power off then hold button for 8 seconds until you feel three vibrations.
    Restart and kill any applications that have started, you should have between 50 and 100mb fee on "C" and around 100mb of Ram free after restarting.
    If your using Anti Virus software Its remove it was Symbian doesn't need it and they just hog resources.
    N95 (RM159) V31.0.017, N8 (RM596) Belle 111.040.1511

  • Help Please - Objects to Display

    Hey how can i get my objects to display? In my class i have a function that creates objects and they fall randomly in rows but only 1 is displaying. And i used trace(); to test how many on stage and it said 4 but only 1 starting falling.
    I think there is something wrong with the method i am using to create the objects in rows.
    Heres the code:
    package
        import flash.display.MovieClip;
        import flash.events.Event;
        import flash.events.MouseEvent;
        import flash.events.TimerEvent;
        import flash.utils.Timer;
        public class Main extends MovieClip
            public var enemyA:Array = [];
            public var birdA:Array = [];
            public var rowNum:int = 1;
            private var gap:int = 100;
            private var obj_no = 2;
            public var timer:int = 0;
            public var time_limit = 10;
            public var TimerSpeed:uint = 1000;
            public var MyTimer:Timer = new Timer(TimerSpeed);
            public var enemy1:mychar = new mychar();
            public var TheBird:BirdChar = new BirdChar();
            public function Main()
                // Constructor Code
            public function activateGameControls()
                createEnemyF();
                createBirdF();
                this.addEventListener(Event.ENTER_FRAME,loopF);
                MyTimer.addEventListener(TimerEvent.TIMER, TimerHandler);
                MyTimer.start();
            public function deactivateGameControls()
                addChild(TheBird);
                addChild(enemy1);
                removeChild(TheBird);
                removeChild(enemy1);
            public function createEnemyF()
                for (var i:int = 0; i < rowNum; i++)
                    for (var j:int = 0; j < obj_no; j++)
                        enemy1.x = Math.random() * stage.stageWidth - enemy1.width;
                        enemy1.y =  -  i * (gap + enemy1.height) - 30.65;
                        enemyA.push(enemy1);
                        addChild(enemy1);
                        trace(enemy1.x, enemy1.y);
            public function createBirdF()
                TheBird.x = 270.95;
                TheBird.y = 350.95;
                birdA.push(TheBird);
                addChild(TheBird);
            public function loopF(event:Event)
                updateEnemyPositionsF();
                updateBirdPositionsF();
                hitTestF();
            public function updateEnemyPositionsF()
                enemy1.y +=  2;
            public function updateBirdPositionsF()
                TheBird.x = mouseX;
            public function hitTestF()
                if (TheBird.hitTestObject(enemy1))
                    gotoAndPlay(5);
                    deactivateGameControls();
                    trace('The Bird Hit Enemy 1');
            function TimerHandler(event:TimerEvent)
                timer +=  1;
                if (timer == 50)
                    MyTimer.removeEventListener(TimerEvent.TIMER, TimerHandler);
                    MyTimer.stop();
                    gotoAndPlay(4);
                else if (timer == time_limit)
                    gotoAndPlay(5);
                    deactivateGameControls();

    Sorry, but i don't get your method on how to do this Here is my code, please give me some steps on exactly what to do and comments on why you are doing it please ..
    package
        import flash.display.MovieClip;
        import flash.events.Event;
        import flash.events.MouseEvent;
        import flash.events.TimerEvent;
        import flash.utils.Timer;
        import flash.display.DisplayObject;
        public class Main extends MovieClip
            public var enemyA:Array = [];
            public var birdA:Array = [];
            private var gap:int = 100;
            public var timer:int = 0;
            public var time_limit = 10;
            public var TimerSpeed:uint = 1000;
            public var MyTimer:Timer = new Timer(TimerSpeed);
            public var enemy1:mychar = new mychar;
            public var TheBird:BirdChar = new BirdChar;
            public function Main()
                // Constructor Code
            public function activateGameControls()
                createEnemyF();
                createBirdF();
                this.addEventListener(Event.ENTER_FRAME,loopF);
                MyTimer.addEventListener(TimerEvent.TIMER,TimerHandler);
                MyTimer.start();
            public function deactivateGameControls()
                addChild(TheBird);
                addChild(enemy1);
                removeChild(TheBird);
                removeChild(enemy1);
    //here is the function i need fixed! I want enemy1 added randomly into rows with the gap.
            public function createEnemyF()
                for (var i:int = 0; i < 10; i++)
                    enemy1.x = Math.random() * stage.stageWidth - enemy1.width;
                    enemy1.y =  -  i * (gap + enemy1.height) - 30.65;
                    enemyA.push(enemy1);
                    addChild(enemy1);
                    trace(enemy1.x, enemy1.y);
            public function createBirdF()
                TheBird.x = 270.95;
                TheBird.y = 350.95;
                birdA.push(TheBird);
                addChild(TheBird);
            public function loopF(event:Event)
                updateEnemyPositionsF();
                updateBirdPositionsF();
                hitTestF();
            public function updateEnemyPositionsF()
                enemy1.y +=  2;
            public function updateBirdPositionsF()
                TheBird.x = mouseX;
            public function hitTestF()
                if (TheBird.hitTestObject(enemy1))
                    gotoAndPlay(5);
                    deactivateGameControls();
                    trace('The Bird Hit Enemy 1');
            function TimerHandler(event:TimerEvent)
                timer +=  1;
                if ((timer == 50))
                    MyTimer.removeEventListener(TimerEvent.TIMER,TimerHandler);
                    MyTimer.stop();
                    gotoAndPlay(4);
                else if ((timer == time_limit))
                    gotoAndPlay(5);
                    deactivateGameControls();
    I really want to finish this so i can finish my game, you are a good help so far!

  • Help, please: problem using brush in masking

    For some reason, when I use the brush tool, 100% opacity. 100% flow, when I paint with black it only partially reveals the background image. I have no special brush settings applied in the brush palette and the layer blend mode is set to normal. Any suggestions would be appreciated--have never run into this before.

    Thanks so much, Ricky, for taking the time to help. Your suggestions made me think--I had numerous layers between the one with the mask and the background. Even though there were only a few paint strokes on each layer and the rest was blank, I tried merging them and that worked--I could then use my brush (the ordinary soft round brush) to display the background completely where I wanted it. Must have had differend blend modes in there somewhere and forgotten about it.
    Hope you and yours have a wonderful Holiday!

  • Help please Problem Raid K8N Diamond Plus

    I have a PC with mather board K8N Diamond Plus 2HD maxtor 80gb (6V080E0) sata II. You can help me I am becoming crazy I must mistake in the bios or in the raid, I just do not succeed to install windows on 2 HD Sata II are compatibility problems?   
    Thank

    Welcome!!
    Firstly, may I suggest you give as much system information as possible, this will help us to assist!!
    Second, I recently set up my RAID 0 and had an XP installation problem, but I believe mine was caused by my motherboard not liking the new 1.2BIOS.
    As soon as I went back to the default (1.0) BIOS, no probs!

  • Help please problem with nokia n85

    hi guys
    after updating the nokia n85 to v30.019
    the speaker icon of the music folder disspeard in the menu
    and even the icon of utilities folder disspeard
    how can i restore the icons
    i've tried the hard reset and it didn't work ?!
    waiting for your help guys

    do a back up and reinstall firmware without memory card in your phone. right after the update use code #2 from the list below. 
     1. *#7780# - Restore factory settings - resets all the settings to the default ( you will not lose any data)
    Make sure you back up your data as you will lose all of it when you perform option 2 or 3 on this list. The default code for ALL operations listed here is 12345
    2. *#7370# - Reformat your phone (out of the box, tho keep in mind that most newer nokia phones at least n series, e series and s60 based phones have udp - user data preservation so not ALL data may be lost. still it is a good idea to always do a back up of your stuff.)
    3. This you perform as a last resort. Nothing else is working.If the phone is not showing any activity, proceed with hard formatting , turn off your phone, hold the following buttons while pressing the power button. (the default code is 12345)
    hard reset - hold the following buttons *, 3 (number button) and talk/green key. turn on the phone and do not release those buttons until you see the Nokia boot up screen. once you feel the phone power up you can let go off the power button while still holding all three buttons ( for Nokia 5800XM - use the following buttons to do a hard reset, GREEN/RED/CAMERA keys pressed all at once on power up. this will only work on 5800's that have firmware version 20... and up. ) For Nokia N97 (unofficial version but works) is SHIFT /SPACE BAR / BACKSPACE while holding the power button. Again do not let go until you see the handshake screen.
    If these codes are not working the only thing for you to do is contact your Nokia Care Center/Service for assistance. 
    You know what I love about you the most, the fact that you are not me ! In love with technology and all that it can offer. Join me in discovery....

  • Help! Problems with Display

    My ipod photo was working great. Now, though, when I play music, I see NOTHING but the album artwork and the time of day displayed on the screen. Pressing the middle button to toggle doesn't work.
    How do I get back to showing the song name, artist name, album name and an icon of the album art instead of just the art.
    Also, the instructions in the book for rebooting the ipod don't do anything...it doesn't reboot.

    First, try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until the screen blacks out or you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore, go into Recovery Mode per the instructions here.

  • Displaying same field with two different selection criteria.

    Post Author: spulkundwar
    CA Forum: Crystal Reports
    Hi All,  i want to display list of product in two different table having life counter field less than 0 and life counter field greater than 0. The product list is grouped by product category. The report should look like as shown belowProduct Category1                                             Soon expired (Life 0-25)                                                        Expired Products (Life < 0 )                            Product Name  Product Life                                                        Product Name    Product Life                                     Coke                            24                                                                        Pepsi                    -2                                    Beer                           12                                                                          Vodka            -34 Product Category2                                  Soon
    expired (Life 0-25)                                          Expired
    Products (Life < 0 )
                                Product Name  Product Life       
                                     Product Name   Product Life
                                 Pepsi                    14             
                                           Coke              -2  
                             Beer                     2                
                                          Vodka            -34
    Is this possible to show two tables in each report row? When i set selection formula to product name, it sets the same selection formula to all the fields in the report.

    Post Author: pvierheilig
    CA Forum: Crystal Reports
    Hello -
    Can't you set the group to be on the category?  Selecting the product name in the record selection formula will present only those product (as opposed to categories).
    A subreport, as suggested, will work as well, but your stated record selection will continue to produce the same results - check that, too.  Additionally, you could group on the category and add a group 'b' section (Section Expert; see the Help file).

  • How to display same screen with two different options!!

    Hi All,
    I have created a new entry form where user can enter a new record by selecting from combo select list or manua entry text fields. The same screen has to be used in two ways.
    New entry screen. and once user enetr data clik on sumbit it will insert into database.
    But when the user click on "View" button i need to display the same screen but with existing data insted of empty fields.
    How to achieve this in teh same screen, insated of creating duplicate screen.
    Thanks,
    Anoo..

    Hi,
    Try to use form on a report with report on page 1 and form on page 2.
    When the user clicks edit icons he will be directed to page to to see the values that are entered, make sure form is not updatable.
    If the user clicks create from page 1 then he will be directed to page 2 where he can enter data to insert new record.
    If you need in more detail, explain the scenario how you want, so that I can create an example for you.
    Thanks,
    Ramesh P.

Maybe you are looking for