This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Five Lines of Code and have Christian Clausen on-line!
See this thread for details.
Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

My JApplet runs SLOW!

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello applet gurus,
I'm trying out my first applet. I've written it so it can also appear as a JFrame GUI application. As an application it displays and runs(a Jdbc connection) just fine.
Tested as an applet in Netscape, however, it runs very slowly. It also shows a white, instead of the proper gray, backround. When I position the cursor at the first JTextField and type my name, the characters show up about 30 seconds later. When I click on a button I've created to input the textfield values and activate the jdbc connection, the button does not react in any way. I received a Windows NT message complaining of low virtual memory.
I'm using Netscape to test the applet, which is stored on my c:\drive. The applet uses Swing components. I have not compressed the sourcecode into a .jar file.
What's wrong with this applet?
Thanks in advance,
Ben Weaver
 
Being a smart alec beats the alternative. This tiny ad knows what I'm talking about:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic