Please help Chaps!!! How do I refresh this?

How do I refresh a Jtabbedpane object?
I have a JList object in a class that extends JPanel and this
JList object is in a JTabbedPane.
How do I refresh each line of data being appended to the
JLIST object!!!!

This may or may not help, but have a go anyway. I've got some code with a JTable in a JPanel. There is also a button that when pushed adds a rows to the JTable's TableModel. Initially I found that although the row was being added it wasn't appearing in the table (actually if I minimized and then restored the app the row appeared). So, I stuck in a .repaint(), but to no avail (tried the JTable and the JPanel). Somewhere in my brain a neuron fired and I half rememdered something I read in "Mastering the JFC" about occassionally having to call .revalidate() and it worked.
I'm looking at the code now - it's a bit of a mess. The gist is :-
nwRwBttn.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent actnEvnt)
//        App.this.tbl.revalidate();
        App.this.tblPnl.revalidate();
});Obviously, I'd tried .revalidate() and on the JTable and then the JPanel to see which worked best.
Hope it helps.

Similar Messages

  • Hey all ,  my apple ipad 16gb wifi only  is showing a blue screen !! please help ! how do i fix this . what does it mean ? thanks in advance .

    hey all ,  my apple ipad 16gb wifi only  is showing a blue screen !! please help ! how do i fix this . what does it mean ? thanks in advance .

    Thank u verrrrrrrrrrry much FoxFifth u save my life thank u.

  • HT3702 I have been keep charged by iTunes amounts which I never download , also iTunes got my credit cards details , please help me how can I stop this events.thanks sinna

    Dear sir
    I have been charged by apple iTunes with out I download thinks' and how do I remove my credit card detailed from my apple iTunes account, thanks please help me.

    You've checked the purchase history on your account via the Store > View Account menu option on your computer's iTunes, and have you made any in-app purchases or have any auto-renewing subscriptions ?  If not and you haven't added or changed your credit card details (when you do then a small temporary store holding charge may be applied to check that the details are correct and valid, which should disappear within a few days) then you can contact iTunes Support via this page (we are fellow users on these forums) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
    Changing account info, including payment details : http://support.apple.com/kb/HT1918

  • Sorry - Could you please help me how can I achieve this Search help ?

    I am creating search help for the profit_center field,
    For the search help :
    The scenario is I have three Z-tables.
    Example: The Data in tables are as shown below ( where F1, F2 are the fields ).
    Ztable1
    F1
    A
    B
    C
    D
    Ztable2
    F1 F2
    A 1
    A 2
    B 112
    B 113
    C 34
    D 43
    D 55
    D 87
    Ztable3
    PRCTR F1 F2
    123 A 1
    124 A 2
    123 B 112
    124 B 113
    125 C 34
    123 D 43
    124 D 43
    125 D 43
    I need to create search help (Search Help is similar to Collective Search Help) for the field PRCTR of table Ztable3 like as below.
    By pressing F4 on the field, a pop up should appear which should contains text labels& text fields on TAB-Screen ( A, B, C , D as shown below as text lables )against which text fields should appear.
    TAB-Screen :
    A ____________
    B ____________
    C ____________
    D ____________
    If F4 is pressed on I/O field (text fields) against A in the above TAB-Screen, Corresponding values ztable2-F2 of A from ztable2 ( = 1, 2 ) should appear as F4 help.
    so that user can select ...
    Is it possible to acieve this ? It would be a great help ....How can I achieve this ?
    Finally based on above user selections say
    A ____________
    B ____________
    C ____________
    D ____________
    corresponding prctr values should be collected.

    <b>You can acheive   this .... first by creating the search help exit    ... by  creating the maintaince  view   then   using it in the   Creation of the search help </b> ...
    see the link for attaching the view   to the serach help .
    <a href="http://">http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_elementary.htm</a>
    reward  points if it is usefull...
    Girish

  • Software iOs7 is upgraded in my iPhone 4s and I get all App features dull and gloomy. So Please help me how I can remove this iOs7 and I get back original features from all the Apps as I used to get previously. Thanks.

    In my iPhone 4s iOs7 is installed by mistake and I get all features from the Apps dull and gloomy so please help me to remove this iOs7 and install original software so that get all bright and better features from all the Apps. Thanks

    You can't downgrad the OS on your iPhone.  It's not suported by Apple.
    One way to help make the icons stand out a bit more is to use a solid, dark background image.
    OT

  • My headphone jack is not working but the mic is working fine i have chked my headphones too . They r working fine i have cleared all the dust and my phone is upto date . Please help me how can i fix this problem

    please help me

    The problem would seem to be in the firewall in your router.  Have you tried disabling it? I assume you've updated the router firmware, right?  Consider bypassing the ISP provided router (using it as a modem only) and unsing another device such as an Aiport Express.

  • HT5071 Please Help! how do I fix this error: "The title of the Table of Contents in portrait view is placeholder text : Book Title. Please redeliver your corrected full book file with a custom preview file. "

    Urgent.
    I have been not approved of this error
    been back and forth with Apple
    The title of the Table of Contents in portrait view is placeholder text : Book Title. Please redeliver your corrected full book file with a custom preview file. The book will not go live in the store without a matching custom preview file."
    1st, how do you clarify the Table of Contents issue. No idea what I am doing wrong
    2nd what is a customr preview file?  I uploaded a sample book already.
    Please advise ASAP
    my email: [email protected]
    thanks

    I double check my table of content and I do not have a place holder... so I don't understand the error.

  • Please, Please help. How do I install this update

    I keep getting this error (F3-FF00-0006) when trying to do a system recovery on a Toshiba Satellite L500 Laptop that was running W7. The Toshiba support site say's to download the HDD Recovery Update 1.0.0.4 and install  it. I can download it on another computer and put it onto a disk, but if the L500 I am trying to do a recovery on is all but useless...how do I get the update onto it to fix this recovery error!!!
    This seems to be a flaw in Toshibas logic here. There are no instructions on what to do with the update, any help will be most appreciated. Oh, I have put the update on a disk and put into the DVD drive of the L500...and am still getting the same error
    Kind regards
    Calmlee

    Have ordered Recovery disks from Toshiba support at $66 the set. See if that sorts out my problem.

  • Can somebody please tell me how to fix this. when i try to install appleworks this pops up  so please help me i need to get this on my mac

    can somebody please tell me how to fix this. when i try to install appleworks this pops up
    so please help me i need to get this on my mac

    AppleWorks is a very old application and requires Rosetta to run under recent systems.
    Lion does not include Rosetta.
    If you browse this forum you will find many posts on this issue.

  • Can you please help me how resolved this issue.

    Hi Experts
    I am trying to connect LDAP by R/3 system. R/3 system connected to LDAP but when I am trying to find and pull the fileds in the "Find in the Directolry" option I am getting below error.
    LDAPRC 010 another server is referenced.
    Can you please help me how resolved this issue.
    With Regards,
    Trinadh Bokka

    You may be able to solve by using
    Note 1151329 - Depth of LDAP search is only one level below the base entry
    Markus

  • I bought CS6 creative suite. As of now i need to work each application in separate separate system. Can any one please help me how to solve this problem.

    I bought CS6 creative suite. As of now i need to work each application in separate separate system. Can any one please help me how to solve this problem.
    I saw the below quote on Adobe forum
    "You may install software on up to two computers. These two computers can be Windows, Mac OS, or one each."
    If i install each application in single single system the system count is more than two. In this case, are we have any license issue? Please advice how the problem will solve?
    If possible please send the advise to my mail id: <Removed by Moderator>
    Thanks
    Uvaraj S

    I already answered that.  If you purchased a Suite then you can only install and activate it on two machines.  Even if you only insdtall one of the applications of that suite, it counts as one activation of the suite.  You cannot take the six or seven different applications that might be in a suite and install and activate them in six or seven different machines... only two machines.
    If your scenario will allow for it, one thing you can do is install the programs on all the different machines and only activate two of the machines at any given time.  If you need to activate a program on a third machine then you need to deactivate on one of the currently activate machines first so that you have an open activation to use again.  I do not remember if there is a limit to the total number of activations you can process for the life of the software.

  • Please help me how to improve the performance of this query further.

    Hi All,
    Please help me how to improve the performance of this query further.
    Thanks.

    Hi,
    this is not your first SQL tuning request in this community -- you really should learn how to obtain performance diagnostics.
    The information you posted is not nearly enough to even start troubleshooting the query -- you haven't specified elapsed time, I/O, or the actual number of rows the query returns.
    The only piece of information we have is saying that your query executes within a second. If we believe this, then your query doesn't need tuning. If we don't, then we throw it away
    and we're left with nothing.
    Start by reading this blog post: Kyle Hailey &amp;raquo; Power of DISPLAY_CURSOR
    and applying this knowledge to your case.
    Best regards,
      Nikolay

  • TS1389 I am trying to authorise a new computer. The Apple instructions are to select Authorise this computer from the itunes store menu. I can't find this in any menu. Can you please help? How do I authorise my computer?

    I am trying to authorise a new computer. Apple's instructions are to select "Authorise this computer" from the itunes store menu. I can't find this in any menu. Can you please help? How do I authorise my computer?

    Authorization and Deauthorization
    Macs:  iTunes Store- About authorization and deauthorization.
    Windows: How to Authorize or Deauthorize iTunes | PCWorld.
    In iTunes you use the Authorize This Computer or De-authorize This Computer option under the Store menu in iTunes' menubar. For Windows use the ALT-S keys to access it. Or turn on Windows 7 and 8 iTunes menus: iTunes- Turning on iTunes menus in Windows 8 and 7.
    More On De-authorizing Computers (contributed by user John Galt)
    You can de-authorize individual computers, but only by using those computers. The only other option is to "de-authorize all" from your iTunes account.
      1. Open iTunes on a computer
      2. From the Store menu, select "View my Account..."
      3. Sign in with your Apple ID and password.
      4. Under "Computer Authorizations" select "De-authorize All".
      5. Authorize each computer you still have, as you may require.
    You may only do this once per year.
    After you "de-authorize all" your authorized computers, re-authorize each one as required.
    If you have de-authorized all computers and need to do it again, but your year has not elapsed, then contact: Apple - Support - iTunes - Contact Us.

  • HT201210 I have an old i phone 3G and do not know the password for it. trying to restore it from itunes but keep getting error code 1015, any help on how to get passed this please?

    I have an old i phone 3G and do not know the password for it. trying to restore it from itunes so my daughter can use it as an ipod but keep getting error code 1015, any help on how to get passed this please?

    Hi ratcat14!
    I have an article that can help you troubleshoot this issue:
    Resolve specific iTunes update and restore errors
    http://support.apple.com/kb/ts3694
    Check for hardware issues
    Try to restore your iOS device two more times while connected with a cable, computer, and network you know are good. Also, confirm your security software and settings are allowing communication between your device and update servers. If you still see the alert when you update or restore, contact Apple support.
    Common errors: 1, 10-47, 1002, 1011, 1012, 1014, 1000-1020.
    Thanks for being a part of the Apple Support Communities!
    Cheers,
    Braden

  • HT2534 but i have problem in step 13.  i can't see  step(13) because the red box that has this message "please contact itunes support to complete this transaction" apears. plz help me how can i pass this step

    but i have problem in step 13. i can't see step 13 because the red box which has this message " please contact itunes support to complete this transaction" apears. plz help me how can i pass this step

    You will need to do what it says, contact iTunes support. Click the Support tab above, then the Get Started link in the Contact Apple Support area and you'll be guided.
    Regards.

  • WiFi is disabled, i am not able to on my WiFi my version is IOS 6.1.2 latest version. Please help me how to fix this.

    WiFi is disabled, i am not able to on my WiFi my version is IOS 6.1.2 latest version. Please help me how to fix this.

    see this support article:
    http://www.apple.com/support/iphone/wifi/

Maybe you are looking for

  • Populating the table with values in a jsp

    need help... i have a jsp with 2 textboxes lastname and firstname and a button submit. wen i click on submit i should get a table on the same jsp below the submit button and it should be populated with the values entered in the textboxes. Can you pl

  • Problem with Facebook chat

    I cannot use chat box online for Facebook

  • My Import feature has gone CRAZY!

    Ok. What is going on with this folks? I have been trying to upload photos from graduation. It keeps asking me if I want to upload...and the number of photos keeps growing and growing. There are still some photos "out there" in this upload I want and

  • Sequence of inner join

    Will the sequence of inner join... eg. joining kna1, knb1, bkpf, bsid affect performance? or does it matter when choosing the field to be in the where clause from one of the 4 tables affect performance.. when considering the use of index?

  • How to select the max rowid from a subquery with group by

    Hi Gurus, Kindly help how to fix the following query because I'm getting Oracle error:ORA-01446. select * from edy_raw_data a where rowid in ( select max(rowid) from( select email,max(date_updated) from edy_raw_data b where b.email=a.email group by e