Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 106377
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T01:35:14+00:00 2026-05-11T01:35:14+00:00

I have a small (500kb) swing applet that displays very simple/limited set of small

  • 0

I have a small (500kb) swing applet that displays very simple/limited set of small HTML page(s) inside it with JEditorPane, however this does not seem to work 100% fluently, some customers get a blank page displayed without any java exceptions. The page works OK from my machine. I need a more reliable way to show HTML page to all our users.

Any ideas if there is a small + free class to use instead of JEditorPane OR is there an easy fix to make it more reliable (non blank)

private JEditorPane m_editorPane = new JTextPane();       m_editorPane.setEditable( false);      m_editorPane.setBackground(new Color(239  ,255, 215));     m_editorPane.setBounds(30,42,520,478 );     m_editorPane.setDoubleBuffered(true);     m_editorPane.setBorder(null);      m_editorPane.registerEditorKitForContentType('text/html', 'com.xxxxx.SynchronousHTMLEditorKit');   m_editorPane.setPage(ResourceLoader.getURLforDataFile(param.trim()));  
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T01:35:14+00:00Added an answer on May 11, 2026 at 1:35 am

    AFAIK, JEditorPane is a very primitive HTML component: it is confused by CSS and knows nothing about JS.
    I doubt you will find a ‘small + free’ class doing better, HTML parsing and displaying isn’t a simple business, even less today.

    Perhaps it is better to let the big names in the business to take care of this task, ie. using Internet Explorer or Mozilla components (depending on what is available, etc.): JDIC: Embedding a Web browser in Java.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 66k
  • Answers 66k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer 1) Use a tool like ildasm or .NET Reflector to… May 11, 2026 at 11:32 am
  • added an answer First, use Upper Case Class Names in Python. Second, use… May 11, 2026 at 11:32 am
  • added an answer You should either use some separator or store the length… May 11, 2026 at 11:32 am

Related Questions

I have a small (500kb) swing applet that displays very simple/limited set of small
I have a small JS function that does Ajax for me and another like
I have a small utility that I use to download an MP3 file from
I have a small local network. Only one of the machines is available to
I have a small VB.NET application that I'm working on using the full version
I have a small diagnostic VB.Net application ( 2 forms, 20 subs & functions)
I have a small application I am working on that at one point needs
I have a small server program that accepts connections on a TCP or local
I have a small gallery of thumbnails. When I place my mouse pointer over
I have a small to medium project that is in C++/CLI. I really hate

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.