Controlling desktop windows size and position.

5 views
Skip to first unread message

PatrickJ

unread,
Nov 19, 2009, 12:35:59 PM11/19/09
to Google Web Toolkit
Is there and equivalent functional in GWT to VB's FindWindow,
ShowWindow and MoveWindow?

I would like to write a simple GWT application that would list all
applications running on a Windows PC and have the ability to control
the window's position attributes.

Patrick

Martin Trummer

unread,
Nov 23, 2009, 5:09:02 AM11/23/09
to Google Web Toolkit
you can't do that with html/javascript, so GWT can't help you

Patrick Simons

unread,
Nov 28, 2009, 7:01:46 AM11/28/09
to google-we...@googlegroups.com
I'm sure there is a way, I've seen Java applications do this before

--

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.



Yozons Support on Gmail

unread,
Nov 28, 2009, 2:49:51 PM11/28/09
to google-we...@googlegroups.com
Please tell us you're not confusing Java and Javascript running in a web browser....

bch...@gmail.com

unread,
Nov 28, 2009, 8:26:21 PM11/28/09
to Google Web Toolkit
Java is not Javascript.

On Nov 28, 8:01 pm, Patrick Simons <patrickjsim...@gmail.com> wrote:
> I'm sure there is a way, I've seen Java applications do this before
>
> On Mon, Nov 23, 2009 at 10:09 AM, Martin Trummer <martin.trum...@24act.at>wrote:
>
> > you can't do that with html/javascript, so GWT can't help you
>
> > On 19 Nov., 18:35, PatrickJ <patrickjsim...@gmail.com> wrote:
> > > Is there and equivalent functional in GWT to VB's FindWindow,
> > > ShowWindow and MoveWindow?
>
> > > I would like to write a simple GWT application that would list all
> > > applications running on a Windows PC and have the ability to control
> > > the window's position attributes.
>
> > > Patrick
>
> >  --
>
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-we...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-tool...@googlegroups.com<google-web-toolkit%2Bunsu...@googlegroups.com>
> > .

PatrickJ

unread,
Dec 2, 2009, 12:41:31 PM12/2/09
to Google Web Toolkit
I suppose I'm somewhat confused. What I would like to do is base the
interface on GWT but call some server side process that would interact
with the host OS which would allow me to manipulate other applications
which are running on the host.

For example, I've two networked laptops labelled 1 and 2. Laptop 2 is
running 4 remote desktop sessions into four virtual, servers which are
hosted on laptop 2. I would like to have a console on laptop 1
running a web based app (preferably written in GTW) which would allow
me to interact through some server side components running on Laptop
2, which would allow me to control the size and position of the Remote
desktops e.g. position them in quadrants, maximise 1 an minimise the
rest etc.

The console running on laptop 1 would display a graphical thumbnail of
the applications running on laptop two where I could arrange them
using a mouse.

Maybe I'm expecting too much from GWT however I was of the opinion
that I could use GWT to develop a wide range of web based application.

Thanks in advance.

On Nov 29, 1:26 am, "bch...@gmail.com" <bch...@gmail.com> wrote:
> Java is not Javascript.
>
> On Nov 28, 8:01 pm, Patrick Simons <patrickjsim...@gmail.com> wrote:
>
>
>
> > I'm sure there is a way, I've seen Java applications do this before
>
> > On Mon, Nov 23, 2009 at 10:09 AM, Martin Trummer <martin.trum...@24act.at>wrote:
>
> > > you can't do that with html/javascript, so GWT can't help you
>
> > > On 19 Nov., 18:35, PatrickJ <patrickjsim...@gmail.com> wrote:
> > > > Is there and equivalent functional in GWT to VB's FindWindow,
> > > > ShowWindow and MoveWindow?
>
> > > > I would like to write a simple GWT application that would list all
> > > > applications running on a Windows PC and have the ability to control
> > > > the window's position attributes.
>
> > > > Patrick
>
> > >  --
>
> > > You received this message because you are subscribed to the Google Groups
> > > "Google Web Toolkit" group.
> > > To post to this group, send email to google-we...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-tool...@googlegroups.com<google-web-toolkit%2Bunsubs­cr...@googlegroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=.- Hide quoted text -
>
> - Show quoted text -

Isaac Truett

unread,
Dec 2, 2009, 1:05:55 PM12/2/09
to google-web-toolkit
Patrick,

GWT can do anything that HTML, JavaScript, and CSS together can do in
a browser. The server in your setup is the entity that will be
interacting with the OS to manipulate other processes. Once you get to
the server, you're really outside the realm of GWT and you're free to
do whatever you want with Java or whatever server-side language you
choose.

So to answer your first question: no, GWT does not have functions
equivalent to VB's FindWindow, ShowWindow and MoveWindow. You'll want
to look for a Java library for that.

Hope that helps.

- Isaac
> To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>

PatrickJ

unread,
Dec 3, 2009, 10:01:27 AM12/3/09
to Google Web Toolkit
It's very helpful thanks, can you put me on the right track as regards
to how I would interact with the server side through GWT. Would I
simply post requests to the server side script or could I interact
with in using Ajax?

I suppose I just need to understand the high-level aspects around how
I would communicate and pass parameters to a server side application
written in Java.

For example, if I wrote an server side application that listens to a
port can I feed information to it through GWT or would I need to go
about it in a different way?

Patrick.
> >> > >http://groups.google.com/group/google-web-toolkit?hl=.-Hide quoted text -
>
> >> - Show quoted text -
>
> > --
>
> > You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
> > To post to this group, send email to google-we...@googlegroups.com.
> > To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/google-web-toolkit?hl=en.- Hide quoted text -

Isaac Truett

unread,
Dec 3, 2009, 11:30:43 AM12/3/09
to google-web-toolkit
I'd start with this section of the Developer's Guide:

http://code.google.com/webtoolkit/doc/1.6/DevGuideServerCommunication.html

GWT RPC is what I use and would recommend if you're running a Java
server on the backend.
Reply all
Reply to author
Forward
0 new messages