jQuery in Action, 2nd edition*
The moose likes Swing / AWT / SWT and the fly likes Can I make a toolbar that can be added as an Add on for Internet Explorer? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Can I make a toolbar that can be added as an Add on for Internet Explorer?" Watch "Can I make a toolbar that can be added as an Add on for Internet Explorer?" New topic
Author

Can I make a toolbar that can be added as an Add on for Internet Explorer?

Aji Sree
Greenhorn

Joined: Jun 19, 2009
Posts: 18
Hi,

Is it possible to make a tool bar using Swing and use it as an Add on for Internet explorer browser?
ie I want to make a custom toolbar for Internet explorer browser using Swing? If possible how can it be added to the browser?

Thank you
Ajith
Fred Hamilton
Ranch Hand

Joined: May 13, 2009
Posts: 679
I have no specific experience in that area, but my gut feeling based on politics and market forces is that Microsoft would not be interested in making it easy for you to create an add-on such as a toolbar, using Sun java. Maybe it can be done, but I can't imagine java being a good way to create a toolbar for IE. You might have better luck with Firefox though.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19544
    
  16

With IE, you'll have to go native with JNI. Probably for Firefox as well.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Fred Hamilton
Ranch Hand

Joined: May 13, 2009
Posts: 679
Rob Prime wrote:With IE, you'll have to go native with JNI. Probably for Firefox as well.


hmm, didn't know about JNI. Are you saying it can be done then, or are you just saying that if it can be done, it would have to be this way?

It would require some measure of co-operation from IE, no?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19544
    
  16

It can most certainly be done, but you'll need quite a bit of native code.

And yes, you will need to tap into the IE API for creating toolbars. I have no idea how public that API is; it might be completely private, only available by paying Microsoft.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can I make a toolbar that can be added as an Add on for Internet Explorer?
 
Similar Threads
Adding a button to a browser toolbar using java
Adding a button to a browser toolbar using java
Adding a button to a browser toolbar using java
JToolBar
How to Kill session on browser close