This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes no applet displayed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "no applet displayed" Watch "no applet displayed" New topic
Author

no applet displayed

suresh Rajan
Greenhorn

Joined: Dec 11, 2008
Posts: 3
hi experts...i am trying to display SQL data
through JTable...when i run
appletviewer Calc3.html...then
nothing displayed in the page......
but messaged AppletStarted...........
i have attached the code for your reference..............
please do your best efffects....................
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38042
    
  22
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.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38042
    
  22
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: no applet displayed
 
Similar Threads
I want help with display
Display Problem in JTable
JRadioButton in JTable
JTable display problem
Problem with JTable