hi experts...i am trying to display SQL data
through JTable...when i run
nothing displayed in the page......
but messaged AppletStarted...........
i have attached the code for your reference..............
please do your best efffects....................
Welcome to JavaRanch
I think you may have landed on the wrong forum; this is for database access questions, and your problem is about displaying the Applet. I think one of my fellow-bartenders will move your posting. Please don't use abbreviations like "ur"; they are difficult to understand.
When I tried your html code with <html></html> added, it ran and presented a blank applet. You are adding a table which has no contents, so that would be invisible. You are not supplying locations for the other things you are adding, so they will be added to the CENTER by default and will be obscured by the table which you are adding last.
Suggest you provide locations for all the Components you are adding, in different places. And you are adding the "stu" object twice. Don't use == for comparisons with objects.
Joined: Oct 13, 2005
I wasn't clear in my last post: sorry.
The table added last has nothing in, so you wouldn't see it. Since you don't specify locations for most of the objects you are adding, they would default to CENTER, but would be obscured by the empty table.