Cant see JTable content

Hi,
    private DefaultTableModel spieleTableModel = new DefaultTableModel();
    private DefaultTableModel teilnehmerTableModel = new DefaultTableModel();
        //SpieleTable
        spieleTableModel.addColumn("  Nr.");
        spieleTableModel.addColumn("  spielName");
        spieleTableModel.addColumn("  maxSpieler");
        spieleTableModel.addColumn("  angemeldet");
        spieleTableModel.addColumn("  gestartet");
        spieleTableModel.addColumn("  Eigner");
        spieleTableModel.addColumn("  -IP");
        jtblSpieleListe.setModel(spieleTableModel);
        //teilnehmerTable
        teilnehmerTableModel.addColumn("  clientId ");
        teilnehmerTableModel.addColumn("  Nr. ");
        teilnehmerTableModel.addColumn("  spielName ");
        teilnehmerTableModel.addColumn("  spielStand ");
        teilnehmerTableModel.addColumn("  hostIP ");
        teilnehmerTableModel.addColumn("  threadName ");
        teilnehmerTableModel.addColumn("  Eigner ");
        teilnehmerTableModel.addColumn(" PW ");
        jtblTeilnehmerListe.setModel(teilnehmerTableModel);
    // adding data  
     public void spieleTableSatzAnhaengen(
            String spielNummer,
            String spielName,
            // more param
        int row = spieleTableModel.getRowCount();
        spieleTableModel.addRow(new Vector() ) ;
        spieleTableModel.setValueAt(spielNummer,row, Jobs.COL_NUMMER);
        spieleTableModel.setValueAt(spielName, row, Jobs.COL_NAME);
        // more}
    public void teilnehmerTableSatzAnhaengen(
            String spielNummer,
            String spielName ,
            // more param ){
        int row = spieleTableModel.getRowCount();
        spieleTableModel.addRow(new Vector() ) ;
        spieleTableModel.setValueAt(spielNummer, row, 0);
        spieleTableModel.setValueAt(spielName, row,1);
         // more        
    }   My problem I cant solve is:
with spieleTable I can see rows and cols but not with teilnehmerTable
a console output shows that values received ploperly the table.
It seems that I am doing something like painting white on white ( ?? ).
But I eve do not see lines .
What I can see are tableheaders.
ANy hint, where I could look for.
TIA Hanns

Eh, is your teilnehmerSomething method erroneously
manipulating the spieleTableModel instead of the
teilnehmerTableModel?What a shame, I did not see this <g>
thanks and enjoy YOur DD
Hanns

Similar Messages

  • I cant see portal content using ie8

    Hi all,
    I cant see portal content in ie8, but i cant able to remove ie8 from my system i tried but it wont possible. would any body please help me on this issue.
    Thanks
    Anu

    Anu,
    You got to verify your portal version and sp level against the once mentioned in PAM  http://service.sap.com/pam
    Also, refer to the thread in [here|Does SAP certify IE 7 with Portal v.7? what about IE 8?; for more details.
    Thanks and regards,
    Sandeep Tudumu

  • Unable to open yahoo mail -cant see mail content

    unable to open yahoo mail on mozilla -cant see mail content though i can see the details on Internet explorer. what may be the problem kindly help

    This issue can be caused by corrupted cookies.
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    If clearing the cookies doesn't help then it is possible that the file <i>cookies.sqlite</i> that stores the cookies is corrupted.
    Rename (or delete) <b>cookies.sqlite</b> (cookies.sqlite.old) and delete <b>cookies.sqlite-journal</b> and <b>cookies.txt</b>, if they exist, in the Firefox Profile Folder in case the file cookies.sqlite got corrupted.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox

  • Cant see jtable column headers

    I have my jtable in a container and i am displaying that container in a jframe. I cant see the table column headers. I cant use a jscrollpane and need to make the table headers visible. I can see the table fine with all its information in it. When I do a System.out.println(TableModel.getColumnName(int)); i get the correct column header name so I know that the column headers are existing. I would appreciate any help that you can give

    the last answer did not help me out. I reposted this with more information, such as i am placing my table in a container and not in a scrollpane. I added the code below and it still did not work
    content.add(jt.getTableHeader(), BorderLayout.NORTH);
    content.add(jt, BorderLayout.CENTER);
    I can still only see the table. I pasted code below where I create my table and repaint it. I have it set up where my table is in a JPanel. I have is set up so that I can move it around and resize it with the mouse. This all works and I can see the table but there are no headers.
    public FigTable(DefaultTableModel inTableModel, LEditor inLEditor)
              super(50, 50, 350, 200);
              setLineColor(Color.blue);
              setFillColor(ColorMenu.kColorOfNoFill);
              fEditor = inLEditor;
              content = fEditor.getGEFPanel().getDrawingPanel();
              importTable(inTableModel);
              fEditor.init();
              fEditor.inval();
    public void importTable(DefaultTableModel inTableModel)
              jt = new JTable(inTableModel);
              tRows = jt.getRowCount();
              tColumns = jt.getColumnCount();
              content.add(jt, BorderLayout.CENTER);
              content.add(jt.getTableHeader(), BorderLayout.NORTH);
    public void paint(Graphics g)
              jt.setBounds(_x, y, w, _h);
              if (_h >= tRows && tRows != 0)
              jt.setRowHeight(_h / tRows);
              if (isSelected())
                   drawHandles(g);
              if (_filled && (getFillColor() != null))
                   jt.setBackground(getFillColor());
              if (getLineColor() != null)
                   jt.setGridColor(getLineColor());
                   jt.setBorder(BorderFactory.createLineBorder(getLineColor()));
         }

  • Help! -Itunes wont sync, Set-Up Assistant pops up, Cant see iPod contents..

    I have several problems happening at once - please help if you can!
    When I connect to iTunes, my iPod starts to sync, but then I get an error message "Cannot synchronize ----'s iPod. Unknown Error (-48)"
    It then jumps straight to the Set Up Assistant, as if its the first time I've connected my iPod! (I've had it for a year now). I'm too scared to go through that option in case it wipes the music/video off my iPod.
    After all this, my iPod's name Imine) is actually visible in the left side panel of iTunes - BUT, i cant see any of the contents ie songs, video etc.
    Funny thing is, I can still load songs & video onto the iPod, and it synchronizes and saves. But, I just cant see anything thats on the iPod (meaning I cant edit or delete, which is annoying), as iTunes only recognizes it as a brand new ipod.
    So, what can I do?
    I've tried to reset the Ipod, and reloaded iTunes. I've even used an earlier version of iTunes on a different computer and the exact same thing happens there (which leads me to believe somehting happened to the iPod).
    I dont want to restore the iPod - I have nearly filled the 160GB capacity and I simply cannot back it up anywhere as no computer i have has enough memory and all my original music is overseas at home.
    Why is itunes not recognising the ipod, but it still saves data on it??? How can I bypass the Set Up assistant?? (its irritating).
    Please help!!
    JJ LA

    I am also having the same problem. This is my second ipod (I've added a shuffle and already had a nano). The nano works fine. When I connect the shuffle, it is grayed out in the left pane. The main view only shows two tabs, Settings and Contents. It doesn't seem to matter how I have the syncing setup.

  • I cant see the content of my icloud

      Hello everyone. i have iphone 4 whis ios702 i bought from someone else. i think i've synced photoes to my cloud (i dont know if when i had ios 6.14 or after updating to ios 702)
    any way my cloud i occupied with 3.4 giga that i cant see.
    what should i do? should i delete the icloud content from my phone?
    if yes, how am i doing it?
    iPhone 4, iOS 7.0.2 

    orisharonn wrote:
    i tried to compare between camera roll to photoes collections by years->month... i seems that almost every thing is in both- photoes and camera roll. whay is that???
    The reason you see the same photos is that they are just differerent ways to view the same photos.  In the broadest view, they are organized by year.  If you "zoom" into a year, you will view them by "collections", which are only a month or two.  Zoom into a collection and you will see "moments", which is the shortest time period.  If you don't like viewing your photos this way you can always tap Albums at the bottom, the tap Camera Roll and you will see you photos as they were in iOS 6.  None of this means you have duplicate photos, they are just different ways to see the same photos.
    as i said, i prefer to backup pics and videos to my pc and to the cloud only apps data (like recordings of stuff)
    or whatsup conversations, and my contacts....
    You can do that by importing them to your computer using your usb cable and and turning off the camera roll in your backup options (in Settings>iCloud>Storage & Backup>tap your device under Backups>turn of Camera Roll under Backup Options).  As fromsouth said, this will not delete anything from your phone, it will just prevent the camera roll from being included in your iCloud backup.  And you will not see the reduction in your iCloud storage until you back up with these new settings a few times (or delete your existing backup and back up again).

  • Cant see sequence content in CS6 Premiere. Hardware issues?

    Bill Hunt told me to try you guy's in this forum.
    Hope someone here have an ace up their sleves....
    Read the thread here:  http://forums.adobe.com/message/4925266#4925266
    Post here or in that thread if anyone have suggestions!
    Thanks!!

    I really hope that someone have some help in this matter.
    I did a clean install of latest nVidia drivers and the same problem.
    If I cut and copy files that I think is is where they should be into a new timeline the problem follows to the new timeline. Sometimes clips apear when mouse over and sometimes they go away. What is going on?

  • HT1349 why i cant see my library content in my laptop?

    why i cant see my library content in my laptop?

    - The iTunes library?
    - The content on your iPod?
    - Is this an iPod problem or an iTunes Problem?
    Ned more information

  • My ipod touch showing that it is. Charging the syncing symbol appears next to the device in itunes but i cant open or see the content of my device since it goes on sycing....btw i hav latest itunes

    My ipod touch showing that it is. Charging the syncing symbol appears next to the device in itunes but i cant open or see the content of my device since it goes on sycing....btw i hav latest itunes

    michaelfromstockton on tees wrote:
    I've found an easier way, just go to settings>general>usage>music. Then swipe it and press delete, i think this deletes the database described above, then re-sync, this worked for me anyway. Good luck, you need it with Apple software.
    I don't have a large library of music on my iPhone 4s since I've only had it since Oct 2012, but since the update to iTunes 11 in early December, my album artwork has been all messed up.  Everytime I would try to add new music, it would assign the wrong album artwork to anything new coming in.  And in addition to that, it would also mess up album artwork of music already on my phone.  Everything looked correct in iTunes, but on my phone, not so much.  After trying to unsynch, then synching again, my frustration level was at an all-time high. This problem seems to be everywhere online, but no concrete solution for everyone. 
    I finally came across your simple solution (at least for me because of my small inventory of music) of just deleting all the music through the settings, and then re-synching to add back my music.  Now all of the album artwork is correct again.  I'm almost afraid to add new music for fear the artwork will get mixed up all over again! I still think my issue is somehow connected to the iTunes 11 update because up until then I had no issues whatsoever. Anyway, thanks for an easy solution that worked for me.

  • Multiscreen HTML 5  output  in Chrome – when scrolling down very long topics in the content pane the navigation area 'moves up' , i.e cant see search field or TOC.

    Hi,
    Multiscreen HTML 5  output  in Chrome – when scrolling down very long topics in the content pane the navigation area 'moves up' , i.e cant see search field or TOC.
    thanks
    Anat 

    This is by design. If you want to change this, the content section must have a set height and scroll. Which layout are you using? -- Check out the Responsive layouts and the Social layout. I believe those have the more traditional TOC placement.
    Kind regards,
    Willam

  • I can open iTunes and play library contents but cant see any names or information in the library or any kind of wording at all

    I can open iTunes and play library contents but cant see any names or information in the library or any kind of wording at all, please help.

    Your synced music (and audiobooks) will go into the iPad's Music app, and films and tv shows into the Videos app - on an iPad the iTunes app is just the store

  • HT201250 If I wish to see the contents of my I photo in a time machine back up I am getting a 'cant see because its in a Time Machine back up so how can I be sure that I can delete some photos from my mac

    I have used Time machine back up and as I wish to delets photos on my I mac I want to confirm that I have backed up ok. However when I go into Time Machine and attempt to open I photo I get the message ' cant see becasue its in a time machine back up'.
    How do I get to see whats in the back up... any of them

    Time Machine is backup, not an archive. You should not use it to keep permanent copies of things you have deleted from your main disk. Once the original is gone, the Time Machine copy will not last forever. If you want to keep a permanent copy of a photo "offline", you must make a copy of it somewhere.

  • I backed up my old core 2 duo imac and and was trying to transfer files to my new 2011 imac and when i go to oppen a folder from what i transferred it says "The folder "Music" can't be opened because you don't have permission to see its contents."?

    I backed up my old core 2 duo imac and and was trying to transfer files to my new 2011 imac and when i go to oppen a folder from what i transferred it says "The folder “Music” can’t be opened because you don’t have permission to see its contents".  Why cant i access the files from my old mac?  I tried the time machine and that isnt working either.  I have files that I need to use on my new mac, all my old programs and such.  I thought they said it was easy to get your files from one mac to another.  Please help.

    Your account names are probably different on the two Macs. If you know the UNIX command line, open a terminal window and run:
    $ id 
    You should see a line that starts with something like this:
    uid=501(your_user_id_here)
    now check the owner of the folder you copied over:
    $ ls -ld Music
    drwx------+ 8 some_user_id_here  staff  272 May 14 16:08 Music
    Do the IDs match? If not, you could change the ownership. Say your id is "johnsmith"
    $ chown -R johnsmith Music
    Now try and access it with iTunes.

  • I cant see the airplay icon on mi iphone 3gs

    i cant see the icon of airplay on my iphone 3gs i have a iphones 3gs wiht ios 5.1.1 i will like to use the airplay betewm mi iphone 3gs and my itunes on my pc , please help me with this NOTE I dont have a Mac i have PC with W7 but i read that is posible plesase help me , and itunes dont show me the icon , when i had a 3g he show me the icone but i cant see it 

    This is from the "Troubleshooting AirPlay" article:
    Resolution
    If the AirPlay icon doesn't appear
    Check for the AirPlay icon ( ) in the recently used apps section on your iOS device, or in iTunes on your computer (as in these articles about how to use AirPlay and how to use AirPlay Mirroring). The icon will only appear if your device or computer is logged onto a Wi-Fi network which has an AirPlay-enabled recipient, such as Apple TV (2nd generation or 3rd generation).
    If you are still unable to see the AirPlay icon, try one of the following steps:
    Verify that your AirPlay-enabled devices have the most up-to-date software or firmware.
    Verify that your iOS device has Wi-Fi turned on. Enable Wi-Fi on your iOS device by going to Settings > Wi-Fi.
    Verify that all your AirPlay-enabled devices are logged on to the same home Wi-Fi network (check the home network names on your devices to confirm).
    If trying to AirPlay, or AirPlay mirror, to your Apple TV (2nd or 3rd generation), ensure that AirPlay is enabled on your Apple TV as well. You can enable or disable AirPlay on Apple TV in the AirPlay menu: Settings > AirPlay
    Check Internet or network connectivity on all affected devices.
    Temporarily disable firewalls (both network and local) and security software. Security software and firewalls may block ports that AirPlay uses to stream content. You can often resolve issues with security software by updating, correctly configuring, or uninstalling security software.
    If attempting to use AirPlay from a third-party app or a website from your Safari app on your iOS device, confirm that the app or website is AirPlay compatible (refer to the developers of the app or website for additional information). 
    The entire article is at http://support.apple.com/kb/TS4215

  • Jar file could not find main class.. I cant see why?

    I have read loads of tutorials on this and it should be very straight forward but i STILL cant make a working jar file of my program.. please see if you can see anything wrong with what im doing..
    my program is one .java file that compiles perfectly, and is runnable both through eclipse and by using the command prompt.. i made a jar file using both eclipse and the command prompt, and neither worked.. every time i run it by double clicking it i get the error "could not find main class, program will exit". here is the contents of my jar:
    CorePackage\IPEmailer.class
    CorePackage\IPEmailer$1.class
    CorePackage\IPEmailer$SMTPAuthenticator.class
    META-INF\MANIFEST.MF
    the MANIFEST.MF file contains:
    Manifest-Version: 1.0
    Class-path: .
    Created-By: 1.6.0_02 (Sun Microsystems Inc.)
    Main-Class: CorePackage.IPEmailer
    (yes there is a blank line at the end)
    the class mentioned in 'Main-Class' has a main method that looks like this:
    public static void main(String[] args) {
        // TODO Auto-generated method stub
        new IPEmailer();
    }the program uses 2 external jar files:
    activation.jar
    mail.jar
    and reads a file called:
    ipemailer.ini
    and writes a file called:
    ip.txt
    the program has no GUI and is intended to run 'silently' in the background
    please help me understand what is wrong with this

    package CorePackage;
    import javax.mail.*;
    import javax.mail.Authenticator;
    import javax.mail.PasswordAuthentication;
    import javax.mail.internet.*;
    import java.util.*;
    import java.io.*;
    import java.net.*;
    public class IPEmailer implements Runnable{
          * @param args
         String recipientsinput[]={""};
         String subject;
         String body;
         String server;
         String user;
         String pass;
         String from;
         String urlString = "http://www.whatismyip.org";
         String currentIP;
         String ipFromFile;
         boolean webFailed;
         long interval = 900000; //15 mins
         long oldInterval;
         Thread t = new Thread(this);
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              new IPEmailer();
         public IPEmailer(){
                         ..........etccould the problem be that the class is a thread? i cant see why it would be, but ive never made a jar where the main class also 'implements runnable'

Maybe you are looking for

  • How to create WEB  SERVICE in SAP

    Hi guys , i am new to WEB SERVICE IN ABAP.what's the purpose of web service ? can anyone give me step by step example to create web service in SAP? ur answers will be rewarded. Regards pabitra

  • Any "Best Practice" regarding use of zfs in LDOM with zones

    I have 3 different networks and I want to create a guest-domain for each of the three networks on the same control domain. Inside each guest-domain, I want to create 3 zones. To make it easy to handle growth and also make the zones more portable, I w

  • FSV issue

    Hello Experts, We have an issue while extracting Financial Statement Version. (T.code F.01) with comparing previous year. GL account is assigned in FSV. The FSV created in 2010. when extracting FSV In year 2009 GL account is showing in unassigned ite

  • Extract() problem in Enterprise manager

    OEM issues queries like the following one in several places: /* OracleOEM */ SELECT c.extract('/element/@name', 'xmlns="http://www.w3.org/2001/XMLSchema"').getStringVal() FROM  table(xmlsequence(( SELECT  s.schema.extract('//schema/element') from dba

  • IllegalArgumentException creating new EJB in JDeveloper

    Suddenly JDeveloper throws an IllegalArgumentException when I try to add a new Entity Bean to my ejb-jar.xml: java.lang.IllegalArgumentException: unknown format type at void java.text.MessageFormat.makeFormat(int, int, java.lang.StringBuffer MessageF