embedded Main Window
Brought to you by:
zhourenjian
How can I start the first (main) window embbeded in the
browser? I does not need a second title bar. The title
text should be display in the browser self. I also does
not want to see a console. I does not find any sample
how I can do it.
Logged In: YES
user_id=1408135
You can hide the title bar by using SWT.NO_TRIM bit when
creating Shell. For example (Java sources):
Shell shell = new Shell (display, SWT.NO_TRIM);
....
to hide the console, you should edit the line in the
generated *.html:
<div id="_console_" class="consolewindow"></div>
into
<div id="_console_" class="consolewindow"
style="visibility:hidden;"></div>
To switch hiding and showing console in Eclipse environment
will be considered as an feature request.
For more quick answer, you could ask question on
j2s-development@lists.sourceforge.net