akshaytambe/javacef

Chromium window inside jframe

Opened this issue · 2 comments

Hi,

Is it possible to open browser inside JFrame window instead of opening a 
separate widget. I want to integrate this inside my swing application but don't 
find any way to show a browser window in side a panel. Can you please give an 
idea on that.

Thanks

Original issue reported on code.google.com by MNomanSa...@gmail.com on 17 Jun 2015 at 8:38

possible way is to use SWT_AWT.new_Shell(..).

 Display display = new Display();
            Shell shell = SWT_AWT.new_Shell(display, canvas);

reference: 
http://rolandtapken.de/blog/2011-01/java-howto-embed-swt-widget-swing-jframe

Original comment by MNomanSa...@gmail.com on 17 Jun 2015 at 10:03

I didn't try to embed this in AWT before, but it should work on Windows and 
Linux. Also, I think AWT and SWT are not compatible on Mac.

Original comment by wjyw...@gmail.com on 26 Jun 2015 at 2:33