This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 82920

Summary: Run webapps in integrated browser tab
Product: ide Reporter: jfurmankiewicz <jfurmankiewicz>
Component: ExtbrowserAssignee: Jan Stola <jstola>
Status: NEW ---    
Severity: blocker    
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 46816    
Bug Blocks:    

Description jfurmankiewicz 2006-08-17 16:30:15 UTC
One of the greatest plugins from nbextras.org is this one:
http://www.nbextras.org/2006/04/24/1145914287438.html

it integrates a native JDIC browser right into NB, so that when you run a web
app it opens it in a new tab WITHIN Netbeans (instead of starting a separate web
browser window)

This seems minor, but is actually incredibly productive and makes starting,
testing and debugging a web app much faster. It would be great if NB could offer
an option for this as standard, preferably with option to preview in different
browsers.

I believe the JDIC version only works on Windows. If we want to avoid native
code, maybe at the very least we could accomplish this with an integrated FLying
Saucer XHTML renderer:
https://xhtmlrenderer.dev.java.net/

Any way you choose to do it would be great, as long as there is an option to run
a web app in its own separate tab within NB editor, instead of as a separate window.

I believe MyEclipseIDE has something similar as well and its very useful.

Another edge NB that would have over Eclipse WTP *grin*
Comment 1 Sherold Dev 2006-08-18 08:49:06 UTC
-> extbrowser
Comment 2 Tomasz Slota 2006-08-22 13:02:05 UTC
JDIC is known to work on Windows, Linux and Solaris (OS X is not mentioned), however it does not seem to 
fit into the concept of NB as a referential, "clean" desktop Java application to me. It is great there is a 
plugin for optional integration though.

I doubt that Saucer XHTML renderer would be useful for real-world developers, but we might consider 
embedding it in NB one day.

I will ask for more feedback at the nbdev mailing list.
Comment 3 jfurmankiewicz 2006-08-22 14:09:45 UTC
I understand. With all the platforms NB runs on, you probably definitely want to
stay "pure" Swing as much as possible.

I urge you though to try this plugin out and do some web app development with
it, I think you will see the benefit of staying within NB (without launching
external windows).

if one day JDIC becomes an official part of the JDK, might be something worth
re-considering.

Thank you for looking into this, much appreciate.
Comment 4 Tomasz Slota 2006-09-20 09:08:13 UTC
Additional reasons to look into JDIC:

- there are more users asking about JDIC (see issue 85285)
- we are having more and more problems with the old external browser integration code
- the project is sponsored by Sun
Comment 5 Tomasz Slota 2006-09-20 09:21:23 UTC
Adding dependency to issue 46816 (Support JDIC's native browser embedding)
Comment 6 Tomasz Slota 2008-01-11 11:33:35 UTC
*** Issue 124501 has been marked as a duplicate of this issue. ***