|
-
January 26th, 1999, 02:34 AM
#1
jtable scrollpane
Now I found Jtable have no tableheader in scrollpane.
my program:
Jtable jt;//have defind before.
ScrollPane sc=new ScrollPane();
sc.add(jt);
pls help me!Thank you!
-
January 26th, 1999, 12:29 PM
#2
Re: jtable scrollpane
You are not getting the header because you are using ScrollPane instead of
JScrollPane. The first is an AWT component whereas the second is a Swing
component.
Use JScrollPane.
-
January 27th, 1999, 05:30 PM
#3
Re: jtable scrollpane
Michael,
If you are using VCafe and using Symantec's TableDataModel, and your Table data model has no data, the table HEADERs do NOT show, this is a know bug, the current work around is to add a row and remove it.
I hope this helps!
-
January 27th, 1999, 08:15 PM
#4
again Re: jtable scrollpane
Thank you.
I using JDK1.16 ,JDK1.2 ,JBUILDER2.0.
I can show jtable in scrollpane.but dont show jtable 's jtableheader.
I want get jtable's jtableheader and add jtableheader to scrollpane by hand.
Can be?
Now I can get jtable's jtableheader.but I dont know add jtableheader to scrollpane.
if ok,How can I?
pls help me again.
Thank you very much.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|