• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

URGENT application ok... applet not ok

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Any of you guru's have an idea about the following.
by the way...just passed the SCJP with 88% but it hasnt helped me with this monkey:-(

Ive been developing a program that gives the user a tree structure on the left hand side of the display and depending on what they select from this tree, a different set of options on the rhs.

The problem is..... it all works fine as an application.
But when i deliver it as an applet i have the following problems on the rhs of the display.

1) Jtextfields are NOT editable??? i can click on them and they seem to get focus but cant edit the dam things.
2) the background colo(u)r for the jPanels, JTextField, Combi Boxes etc are all grey in the applet only. To overcome this I have to explicitly setOpaque to false for every component.

As I have said....it works fine as an application.

I have been randomly repainting things in different ways with no luck.

I cant help thinking this is one of those one liners that'll fix everything.

Anyone got any ideas???

Got to deliver this in 26 1/2 hours.....doh.

Thats 1/2 hour gone.........26 hour till i get fried:-/

Please help ASAP

Many thanks

ps using removeAll, the add(JPanelWithNewDisplayStuff)
Then various combinations of validate revalidate paint repaint to update the display.
 
Bartender
Posts: 9559
12
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please do not crosspost
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!