Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Remote VM JRE window
Remote VM JRE window [message #115565] Sat, 21 January 2006 21:40 Go to next message
Eclipse User
Originally posted by: milnfalcon4163.yahoo.com

Every time I create a visual class, the remote VM creates entra JSE window
process on the taskbar. Why? Is there a way to hide it or do I have to
enter another bugzilla entry?
Re: Remote VM JRE window [message #115579 is a reply to message #115565] Sat, 21 January 2006 22:41 Go to previous messageGo to next message
Jeff Myers is currently offline Jeff Myers
Messages: 489
Registered: July 2009
Senior Member
The Visual Editor uses remote VMs to render the visual classes, and to
capture the images of the UI to present in the editor window. The fact
that the the VM windows show up on the taskbar is a well known problem.
More helpful than opening a bug would be helping to develop solutions
to hide the items on the taskbar. We're even open to native solutions.
Any thoughts on this?

- Jeff
Re: Remote VM JRE window [message #115592 is a reply to message #115579] Sun, 22 January 2006 03:44 Go to previous messageGo to next message
Eclipse User
Originally posted by: milnfalcon4163.yahoo.com

Honestly, I am new to java. However, I do have an idea. But I don't know
if you can implement it. Instead of creating a remote VM on the taskbar,
Create the remote VM using the java plug-in that internet explorer uses.
If you go a website that has a java applet, the internet create a remote
VM in the system tray. In the system, it is does take up less space and
you can probably hide it. But I don't know how the other OS platforms
would handle that.
Re: Remote VM JRE window [message #115605 is a reply to message #115592] Sun, 22 January 2006 03:48 Go to previous messageGo to next message
Eclipse User
Originally posted by: milnfalcon4163.yahoo.com

Sorry for typos. Honestly, I am new to java. However, I do have an idea.
But I don't know if you can implement it. Instead of creating a remote VM
on the taskbar, Create the remote VM using the java plug-in that internet
explorer uses. If you go a website that has a java applet, internet
explorer creates a remote VM in the system tray. In the system tray, it is
does take up less space and you can probably hide it. But I don't know how
the other OS platforms would handle that.
Re: Remote VM JRE window [message #115643 is a reply to message #115605] Sun, 22 January 2006 15:34 Go to previous messageGo to next message
Jeff Myers is currently offline Jeff Myers
Messages: 489
Registered: July 2009
Senior Member
Richard,

That's a good idea, but unfortunately an applet can't spawn JFrames or
JDialogs, so we can't use it to design these important classes. Also
the icon in the system tray is just an icon that the plug-in puts there
as a status icon (and it can be hidden). It has no relation to the
remote vm we use in the Visual Editor.

Thanks,
- Jeff
Re: Remote VM JRE window [message #115657 is a reply to message #115643] Sun, 22 January 2006 17:30 Go to previous messageGo to next message
Eclipse User
Originally posted by: milnfalcon4163.yahoo.com

In the java control panel, in the advanced tab, there is a miscellaneous
parameter that is supposed to put the java icons on the system stay. I
thought the parameter applied to all java programs.
Re: Remote VM JRE window [message #115734 is a reply to message #115657] Tue, 24 January 2006 17:15 Go to previous messageGo to next message
Eclipse User
Originally posted by: milnfalcon4163.yahoo.com

Anyway, I will live with it. Because so far, eclipse beats the other
opensource IDEs. I declare this post is closed. later.
Re: Remote VM JRE window [message #116934 is a reply to message #115643] Mon, 06 February 2006 01:43 Go to previous messageGo to next message
Eclipse User
Originally posted by: milnfalcon4163.yahoo.com

I hate to re-open this issue. But I have to satisfy my curiosity. Instead
of using remote VMs, why can't you use threads to load and updates images
in the editor?
Re: Remote VM JRE window [message #116946 is a reply to message #116934] Mon, 06 February 2006 03:19 Go to previous messageGo to next message
Jeff Myers is currently offline Jeff Myers
Messages: 489
Registered: July 2009
Senior Member
There's a lot of design reasons for using remote VMs. Primarily - to
allow the user to design with a JRE or SWT version that differs from the
one running Eclipse, and the fact that the VE executes user code in the
remote VM so it is a sandboxed environment that won't do nasty things
like crash the Eclipse VM with bad code. Another feature that is
possible (but not implemented yet) is using the remote VMs to program
with Eclipse and VE on one platform, but designing for another platform
(developing an OS X app on Windows, etc).

Hope this helps,
- Jeff
Re: Remote VM JRE window [message #116982 is a reply to message #116946] Mon, 06 February 2006 12:56 Go to previous messageGo to next message
Eclipse User
Originally posted by: milnfalcon4163.yahoo.com

Thanks. It helps.
Re: Remote VM JRE window [message #506778 is a reply to message #115565] Sat, 09 January 2010 16:39 Go to previous messageGo to next message
Brainstorm is currently offline Brainstorm
Messages: 2
Registered: January 2010
Junior Member
Could this be to any help?
"ITaskbarList::DeleteTab Method
Deletes an item from the taskbar."
- http://msdn.microsoft.com/en-us/library/bb774648%28VS.85%29.aspx

I'm not that good at windows programming myself but this seems to be a step towards a native solution.

Also check out this:
http:// stackoverflow.com/questions/739574/hide-another-apps-taskbar -button
http://www.pinvoke.net/default.aspx/shell32/ITaskbarList.html (has a little bit of sample code)
http://msdn.microsoft.com/en-us/library/bb776822%28VS.85%29.aspx (Generally about the windows task bar)
Re: Remote VM JRE window [message #611805 is a reply to message #115565] Sat, 21 January 2006 22:41 Go to previous messageGo to next message
Jeff Myers is currently offline Jeff Myers
Messages: 489
Registered: July 2009
Senior Member
The Visual Editor uses remote VMs to render the visual classes, and to
capture the images of the UI to present in the editor window. The fact
that the the VM windows show up on the taskbar is a well known problem.
More helpful than opening a bug would be helping to develop solutions
to hide the items on the taskbar. We're even open to native solutions.
Any thoughts on this?

- Jeff
Re: Remote VM JRE window [message #611806 is a reply to message #115579] Sun, 22 January 2006 03:44 Go to previous messageGo to next message
Richard is currently offline Richard
Messages: 49
Registered: July 2009
Member
Honestly, I am new to java. However, I do have an idea. But I don't know
if you can implement it. Instead of creating a remote VM on the taskbar,
Create the remote VM using the java plug-in that internet explorer uses.
If you go a website that has a java applet, the internet create a remote
VM in the system tray. In the system, it is does take up less space and
you can probably hide it. But I don't know how the other OS platforms
would handle that.
Re: Remote VM JRE window [message #611807 is a reply to message #115592] Sun, 22 January 2006 03:48 Go to previous messageGo to next message
Richard is currently offline Richard
Messages: 49
Registered: July 2009
Member
Sorry for typos. Honestly, I am new to java. However, I do have an idea.
But I don't know if you can implement it. Instead of creating a remote VM
on the taskbar, Create the remote VM using the java plug-in that internet
explorer uses. If you go a website that has a java applet, internet
explorer creates a remote VM in the system tray. In the system tray, it is
does take up less space and you can probably hide it. But I don't know how
the other OS platforms would handle that.
Re: Remote VM JRE window [message #611810 is a reply to message #115605] Sun, 22 January 2006 15:34 Go to previous messageGo to next message
Jeff Myers is currently offline Jeff Myers
Messages: 489
Registered: July 2009
Senior Member
Richard,

That's a good idea, but unfortunately an applet can't spawn JFrames or
JDialogs, so we can't use it to design these important classes. Also
the icon in the system tray is just an icon that the plug-in puts there
as a status icon (and it can be hidden). It has no relation to the
remote vm we use in the Visual Editor.

Thanks,
- Jeff
Re: Remote VM JRE window [message #611811 is a reply to message #115643] Sun, 22 January 2006 17:30 Go to previous messageGo to next message
Richard is currently offline Richard
Messages: 49
Registered: July 2009
Member
In the java control panel, in the advanced tab, there is a miscellaneous
parameter that is supposed to put the java icons on the system stay. I
thought the parameter applied to all java programs.
Re: Remote VM JRE window [message #611817 is a reply to message #115657] Tue, 24 January 2006 17:15 Go to previous messageGo to next message
Richard is currently offline Richard
Messages: 49
Registered: July 2009
Member
Anyway, I will live with it. Because so far, eclipse beats the other
opensource IDEs. I declare this post is closed. later.
Re: Remote VM JRE window [message #611967 is a reply to message #115643] Mon, 06 February 2006 01:43 Go to previous messageGo to next message
Richard is currently offline Richard
Messages: 49
Registered: July 2009
Member
I hate to re-open this issue. But I have to satisfy my curiosity. Instead
of using remote VMs, why can't you use threads to load and updates images
in the editor?
Re: Remote VM JRE window [message #611968 is a reply to message #116934] Mon, 06 February 2006 03:19 Go to previous messageGo to next message
Jeff Myers is currently offline Jeff Myers
Messages: 489
Registered: July 2009
Senior Member
There's a lot of design reasons for using remote VMs. Primarily - to
allow the user to design with a JRE or SWT version that differs from the
one running Eclipse, and the fact that the VE executes user code in the
remote VM so it is a sandboxed environment that won't do nasty things
like crash the Eclipse VM with bad code. Another feature that is
possible (but not implemented yet) is using the remote VMs to program
with Eclipse and VE on one platform, but designing for another platform
(developing an OS X app on Windows, etc).

Hope this helps,
- Jeff
Re: Remote VM JRE window [message #611971 is a reply to message #116946] Mon, 06 February 2006 12:56 Go to previous messageGo to next message
Richard is currently offline Richard
Messages: 49
Registered: July 2009
Member
Thanks. It helps.
Re: Remote VM JRE window [message #618353 is a reply to message #115565] Sat, 09 January 2010 16:39 Go to previous message
Brainstorm is currently offline Brainstorm
Messages: 2
Registered: January 2010
Junior Member
Could this be to any help?
"ITaskbarList::DeleteTab Method
Deletes an item from the taskbar."
- http://msdn.microsoft.com/en-us/library/bb774648%28VS.85%29. aspx

I'm not that good at windows programming myself but this seems to be a step towards a native solution.

Also check out this:
http://stackoverflow.com/questions/739574/hide-another-apps- taskbar-button
http://www.pinvoke.net/default.aspx/shell32/ITaskbarList.htm l (has a little bit of sample code)
http://msdn.microsoft.com/en-us/library/bb776822%28VS.85%29. aspx (Generally about the windows task bar)
Previous Topic:How to contribute a IDE project to Eclipse
Next Topic:Visual Editor hangs on eclipse restart.
Goto Forum:
  


Current Time: Fri Sep 19 21:56:45 GMT 2014

Powered by FUDForum. Page generated in 0.14477 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software