Results 1 to 2 of 2
  1. #1
    masa is offline Member
    Join Date
    Nov 2008
    Posts
    21
    Rep Power
    0

    Default dynamic generation of tables

    hi i am able to dynamically generate tables when i click a sub menu item. but when i click another submenu item i am not getting the table data. i think somewhere i am missing revalidat() or repaint() methods. where exactly i should place these methods i dont know. i used revalidate() method after the table is attached to the panel then the second time i am able to display table as per another menu item but when i click on the table data it shows the table data of the first menu item.
    i will explain u clearly....i have a menubar with menu NUMBERS..in it two menu items ONE and TWO. i have to generate dynamic tables based on ONE and TWO menu items. i am to display table based on ONE menu item but the second time when i click on TWO menu item i am able to get the table based on TWO but when i click on the table it changes to the previous table data (i.e. ONE table data)......hope you understand the problem..................

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,458
    Rep Power
    20

    Default

    ah, still asking unanswerable questions, I see. And without replying to responses on earlier posts too.

    I wish you luck, masa. You're gonna need it.

    db

Similar Threads

  1. Need a plugin for Class Diagram generation
    By pesho318i in forum Eclipse
    Replies: 0
    Last Post: 12-03-2008, 02:00 AM
  2. EJB generation with xdoclet tags
    By gugas in forum Enterprise JavaBeans (EJB)
    Replies: 0
    Last Post: 02-18-2008, 02:07 PM
  3. caching the tables
    By jayashree in forum JDBC
    Replies: 0
    Last Post: 01-30-2008, 07:43 AM
  4. random generation
    By carlos123 in forum New To Java
    Replies: 10
    Last Post: 01-09-2008, 04:43 AM
  5. String generation
    By codingisfun22 in forum Advanced Java
    Replies: 3
    Last Post: 12-03-2007, 06:43 AM

Posting Permissions

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