Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 179
  • Last Modified:

Applet, Height & Width

Hi All,

I Have created a JApplet to contain a jScrollpane and a JTable within it.

Is there a possible way to set the size of the applet to be the same size of the JTable at all time (note the JTable size differes between queries).

Thanks in Advance,
swings
0
swings
Asked:
swings
1 Solution
 
Mayank SAssociate Director - Product EngineeringCommented:
Try using the setBounds () method for JTable..

Mayank.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now