• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JEditorPane Refresh

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello
I am struggling to automatically, err I should say programatically
refresh an html file loaded in a JEditorPane.
Any thoughts?
Cheers
:vic
 
Vic Hunting
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey Guys,
Well, in the spiral path of software development.
I was able to solve the refresh problem, well to an extent.
I simply put a timer, which after a specific period of time
sets the urls of the JEditorPane to a blank page and then quickly
to the page I want to display. I had to use this indirect approach
as JEditorPane caches pages and if you ask it to display the same
page again it wont do a thing.
So, the problem is that the pane refreshes but has an unprofessional
flicker. Any ideas on how to eliminate it? A colleague of mine
suggested the use of JTable. Can I display a html link in a JTable?
Cheers
Vic
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic