• 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 ...
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Joe Ess
  • salvin francis
  • fred rosenberger


Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to add jscrollpane to jtextpane in an applet. actually, i'm using more jpanels to display diff, panels at diff time & i need to have a jtextpane in that panel which has scrollbar. this is working fine with JFrame, but not with applet, can anyone help to solve this. if i add the scrollpane to that panel, there is no display(but not in the case of JFrame).
Posts: 9612
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First, what browser are you using? Internet Explorer's Java version is primitive and does not have Swing.
Second, does your Applet extend java.applet.Applet or javax.swing.JApplet? I know there are issues mixing the "old" gui classes and the "new" Swing classes.
Third, open the Java Console and look for an exception. If you have a later JVM and a Windows system, you can click on the coffee cup in the system tray and get a menu. The option for the Java Console is on that menu.
Blood pressure normal? What do I change to get "magnificent"? Maybe this tiny ad?
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!