File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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.
I agree. Here's the link:
subject: Jtable and Scrollbar
jQuery in Action, 3rd edition