5 Replies - 440 Views - Last Post: 04 January 2011 - 03:46 PM Rate Topic: -----

#1 hitesh_tambe747  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 25
  • Joined: 06-July 10

information about JEditorPane needed

Posted 04 January 2011 - 05:47 AM

hello everyone

i am developing a web browser in java as my final year project .

i need information about implementing stylesheet support in JEditorPane

is it possible to provide support for Java script and vb script also ????

thank you .
Is This A Good Question/Topic? 0
  • +

Replies To: information about JEditorPane needed

#2 horace  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 290
  • View blog
  • Posts: 1,900
  • Joined: 25-October 06

Re: information about JEditorPane needed

Posted 04 January 2011 - 06:11 AM

have you looked at the tutorial?
http://download.orac...editorpane.html
Was This Post Helpful? 0
  • +
  • -

#3 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8324
  • View blog
  • Posts: 31,857
  • Joined: 06-March 08

Re: information about JEditorPane needed

Posted 04 January 2011 - 12:13 PM

And there is a basic browser in the CodeSnippets

http://www.dreaminco.../snippet919.htm

but implementing VB macros will be a very very very very challenging problem :)
I wont bid on that contract
Was This Post Helpful? 0
  • +
  • -

#4 Dogstopper  Icon User is offline

  • The Ninjaducky
  • member icon



Reputation: 2870
  • View blog
  • Posts: 11,021
  • Joined: 15-July 08

Re: information about JEditorPane needed

Posted 04 January 2011 - 03:05 PM

You can actually do this by setting the GUI components as a Java Bean and then using them in a VB program to give them ActiveX and VBScripting abilities.

http://java.sun.com/...ocs/script.html

However, it might be easier to use .NET for this if you plan on distributing to Windows only, simply because .NET has/had a very nice Web browser component.
Was This Post Helpful? 1
  • +
  • -

#5 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8324
  • View blog
  • Posts: 31,857
  • Joined: 06-March 08

Re: information about JEditorPane needed

Posted 04 January 2011 - 03:39 PM

You are cheating. Pure Java ? That is what I said
Was This Post Helpful? 0
  • +
  • -

#6 Dogstopper  Icon User is offline

  • The Ninjaducky
  • member icon



Reputation: 2870
  • View blog
  • Posts: 11,021
  • Joined: 15-July 08

Re: information about JEditorPane needed

Posted 04 January 2011 - 03:46 PM

Oh....yah, I guess I missed that part where they said pure Java. Sorry bout that.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1