Million thanks!!! It worked
Type: Posts; User: ritesh@2013
Million thanks!!! It worked
It is Frame. What kind of container can I use to fix this?
I am adding this to Frame (i cannot use JPanel). I tried using getContentPane() but it says getContentPane() is undefined.
I have created a TextField in a frame but it takes up the entire window space. Below is the code
TextField licenseID = new TextField("My Text box");
licenseID.setBackground(Color.blue);...