AWT and swing:Linux
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   S_Shreya
Posted On:   Tuesday, April 24, 2001 02:06 AM

How to add colors to buttons? How to create a table without using
swing?
why it's giving error: getContentPane() method not found, when
I have compiled the swing program on linux, though I have included the
javax.swing package?

Re: AWT and swing:Linux

Posted By:   Finlay_McWalter  
Posted On:   Thursday, June 14, 2001 09:54 PM

Q. How to add colors to buttons?

A. You cannot do this in regular AWT, except if you code your own control.


Q. How to create a table without using swing?

A. There is no AWT equivalent to tables. There are some third party table libraries around, however.


Q. why it's giving error: getContentPane() method not found?

A. make sure you're calling JFrame.getContentPane, not Frame.getContentPane (the latter does not exist).

About | Sitemap | Contact