This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Jtable and Scrollbar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Jtable and Scrollbar" Watch "Jtable and Scrollbar" New topic

Jtable and Scrollbar

Pradeep Selvaraj

Joined: Sep 29, 2003
Posts: 17
Hello there,

i am trying to have a Table and a scrollbar in my prg.This is the code what i have written.I cudnt find the mistake.I am not getting the Scrollbar or Columnname.Can u guyz help me out plz.

Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
You almost had it. I think you just needed to call a few more JFrame methods, notably setSize and setVisible.
It is sorta covered in the JavaRanch Style Guide.
subject: Jtable and Scrollbar
Similar Threads
Updating data in a JTable
empty JTable
JTable ........