Movable Widget on Screen

2008-08-29 Thread sloughran
I am trying to figure out the best way to make a movable sprite along a an absolute panel. I made a composite of an image on a FocusPanel. I have a timer that is animating the image a bit, and it listens for Left and Right. And on left it moves left on it's parent which needs to be an

Re: GWTCanvas, TabPanels, Internet Explorer

2008-12-17 Thread sloughran
It looks like Tab Panels + Canvas is a known bug. It's actually surprising you didn't get an Exception: http://code.google.com/p/gwt-canvas/issues/detail?id=4 I didn't even know this library existed, this is absolutely awesome. I made an interactive rectangle program in minutes! On Dec 17,

Wait for a Response

2009-01-19 Thread sloughran
So I made a small MessageBox class. You pass in a question, and it creates a dialog box with the question and a yes or no. Is there a way I can do something like MessageBox mb = new MessageBox(question); mb.show(); //Wait till they Yes or No mb.getAnswer(); //Act on Yes or No. I could do it

Re: drag to create a window or panel

2009-01-19 Thread sloughran
I would recommend doing some GWT tutorials (Which you can find using Google Search) first. There are several ways to do that. To mimic the Calendar functionality, it could be done using a grid, with a Clicklistener and CSS. Or you can use the GWT EXT library and use a mask. Since I am kind of a

Re: Wait for a Response

2009-01-19 Thread sloughran
So the way I got around it was in my main class, I made a small private subclass that extends MessageBox and then overrides the onClickMethod(). Works well! On Jan 19, 9:13 am, sloughran slough...@gmail.com wrote: So I made a small MessageBox class. You pass in a question, and it creates

Re: What are you using for a backend??

2009-01-21 Thread sloughran
to convert XML into JSON. have you investigated a web host like slicehost.com? they provide you with a virtual machine which you can install any OS and back-end you choose. /dave On Jan 20, 5:24 am, sloughran slough...@gmail.com wrote: So, in my messing around with GWT

Re: Rotating Image Wheel

2009-02-02 Thread sloughran
Off the top of my head: If you use PNG's for the icons with transparency, you would just have to use CSS to make certain images in the front or the back. If you shrink the images as they move from front to back and put their height slightly higher and change the CSS to put them in the back, you

Re: any tips for beautify gwt applications?

2009-02-02 Thread sloughran
You can do a lot of amazing things with CSS to spice up the look of all your widgets. Out side of that you may want to look at some third party libraries that add even more effects like ext-gwt. On Feb 2, 5:54 am, jake H pnosti...@gmail.com wrote: Hello, I m close to finish a gwt application

Re: sort table

2009-02-10 Thread sloughran
I don't have the code anymore (HD went kablooey) but I made something along those lines. It wasn't a trivial problem, but essentially, you add a Cell Listener to each col's title, and if you click that cell you find the sorted order of that Column. THen you make a temp table, and copy the rows