• 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

Problems with JFrame + Web page

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello guys,


I need to put a Web Page in my JFrame application , I got a lot codes on the internet and could implement without problems , but the problem is that this code has an ugly page as hell, with colored all wrong and with a very poor quality , one of code I used was this :





If you test , you'll see that the page is displayed in the JFrame is horrible , can someone help me to get a good look as Chrome , Internet Explorer , Mozilla etc ?

Thank you guys .
 
Sheriff
Posts: 21758
102
Eclipse IDE Spring VI Editor Chrome Java Ubuntu Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Forget all about JEditorPane. It's very, very limited, officially supporting only HTML 3.2.

If you want a proper web browser, check out JavaFX. It includes (since version 2.0) a web browser component based on WebKit (like Chrome).
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!