Results 1 to 5 of 5
  1. #1
    danwoods is offline Member
    Join Date
    Oct 2009
    Posts
    2
    Rep Power
    0

    Default Super simple table applet

    Hello All,
    I'm trying to create an applet which displays a simple table with no headers or other decoration. Could anyone be so kind as to show me the code for this? All the examples I've found haven't compiled or have included extra features which I don't need. A simple 2 x 2 table with empty cells and no headers is what I'm looking for. Thanks to all in advance...

  2. #2
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,565
    Rep Power
    12

    Default

    This depends on what you mean by a "simple table".

    If you mean something with the functionality of a JTable (or a nontrivial subset of that), then use a JTable. There is a good discussion (with codes) in the How To Use Tables section of Sun's Tutorial. The JTable method setTableHeader() allows for a null argument.

  3. #3
    camickr is offline Senior Member
    Join Date
    Jul 2009
    Posts
    1,233
    Rep Power
    6

    Default

    Quit cross posting

    You got the same answer as you got in the other posting. So all you have done is waste someone elses time.

  4. #4
    danwoods is offline Member
    Join Date
    Oct 2009
    Posts
    2
    Rep Power
    0

    Default

    Sorry, didn't realize everyone on the internet checked every message board/forum. I won't ever ask two groups the same question again...

  5. #5
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    It's fine to cross-post as long as you're up front about it, including links if possible. Otherwise you're asking two different groups of volunteers to do the exact same work for you for free resulting in unnecessary duplication of effort. This is why it upsets the volunteers here and elsewhere. Thanks for your cooperation.

Similar Threads

  1. Converting simple Java Application to Applet
    By jrohde in forum Java Applets
    Replies: 1
    Last Post: 07-25-2009, 07:48 PM
  2. [SOLVED] Simple Calculator Applet Weird Error
    By sari in forum New To Java
    Replies: 5
    Last Post: 01-28-2009, 04:57 AM
  3. Super simple question
    By jigglywiggly in forum New To Java
    Replies: 3
    Last Post: 01-26-2009, 01:17 AM
  4. Simple Table Example
    By Java Tip in forum SWT
    Replies: 0
    Last Post: 07-07-2008, 04:58 PM
  5. I need simple java applet
    By silvia in forum Java Applets
    Replies: 4
    Last Post: 01-27-2008, 07:50 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •