ListBox performance problem,with many items

2009-07-30 Thread Enea
Hi. I'm populating ListBox with 8000 items. ListBox lb=new ListBox(); for(int i=0;i<8000;i++) lb1.addItem(""+i); RootPanel.get().add(lb1); In my real project I have to add items from a big list of cities, but anyway. That takes 5 seconds on my developer machine, in hosted mode. In IE is a wa

Re: Calling GWT servlet from an outside container

2009-06-27 Thread Enea
Hi ;) myabe you can find this interesting: http://code.google.com/p/google-web-toolkit-incubator/wiki/ServerPushFAQ it's not exactly what you mean, but you can adapt it to your case. Regards. On 26 Giu, 19:48, jkim wrote: > Hey guys, > > I am new to GWT so go easy on me :) > Here is the scen

Re: passing variables

2009-06-25 Thread Enea
In your case I will construct a class that represent a row of a query for example. then make it serializable, implementing IsSerializable interface. then you can pass ArrayList of this class between server and client, with the RPC method. Regards. On 24 Giu, 20:44, Piotr Kirklewski wrote: >

Re: GWT suddenly stops running: SIGSEGV in libxpcom.so (hosted mode, Ubuntu 9.4)

2009-06-23 Thread Enea
maybe a chanche with: sudo apt-get install libstdc++5 if you are using eclipse, try to reinstall eclipse. On 22 Giu, 23:59, googelybear wrote: > Hi there, > > today GWT decided that it does no longer want to run on my machine. > When I run the hosted mode browser (32bit ubuntu) I get the follo

Re: Exception in thread "main" java.lang.UnsatisfiedLinkError: no nmica in java.library.path

2009-06-23 Thread Enea
.tar.gz archive, then maybe you will solve it. On 23 Giu, 08:43, biswas wrote: > hi Enea > > i tried sudo apt-get install libstdc++5 but it does not seemes to > resolve the error,i am unable to understand your suggestion of " add > to the buildpath some jar of t

Re: is that possible to launch 2 dialogbox ???

2009-06-22 Thread Enea
ialogbox, it couse a overlap problem, is any event listener > can detect whenever i click on any dialogbox, that particular > dialogbox will come to the front . > > On 6月23日, 上午6时25分, Enea wrote: > > > final Button button=new Button(

Re: is that possible to launch 2 dialogbox ???

2009-06-22 Thread Enea
ialogbox, it couse a overlap problem, is any event listener > can detect whenever i click on any dialogbox, that particular > dialogbox will come to the front . > > On 6月23日, 上午6时25分, Enea wrote: > > > final Button button=new Button(

Re: is that possible to launch 2 dialogbox ???

2009-06-22 Thread Enea
ialogbox, it couse a overlap problem, is any event listener > can detect whenever i click on any dialogbox, that particular > dialogbox will come to the front . > > On 6月23日, 上午6时25分, Enea wrote: > > > final Button button=new Button(

Re: is that possible to launch 2 dialogbox ???

2009-06-22 Thread Enea
final Button button=new Button("click me"); button.addClickHandler(new ClickHandler(){ public void onClick(ClickEvent event) { DialogBox d=new DialogBox(); d.setWidget(new Label(

Re: Exception in thread "main" java.lang.UnsatisfiedLinkError: no nmica in java.library.path

2009-06-22 Thread Enea
or maybe add to the buildpath some jar of this package http://www.sanger.ac.uk/Software/analysis/nmica/nmica-0.7.2.tar.gz On 22 Giu, 20:26, Enea wrote: > Maybe, > > sudo apt-get install libstdc++5 > > will solve your problem, but no warranty :) > > tell me if this

Re: Exception in thread "main" java.lang.UnsatisfiedLinkError: no nmica in java.library.path

2009-06-22 Thread Enea
Maybe, sudo apt-get install libstdc++5 will solve your problem, but no warranty :) tell me if this work... good luck On 22 Giu, 16:57, biswas wrote: > HI > > i am trying to run some application which needs java as well as > ant.when i build the application it shows build successfull but

Re: GeoXmlOverlay - Google Maps API

2009-06-22 Thread Enea
to try it, you can open up the 8080 port of your router for you lan ip (as you make for xmule and so...) then you have to know your external public ip http://www.myip.ma/ then, as the url insert the ip instead of localhost. "http://xx.xxx.xxx.xx:8080/KMLServlet/kml? mode=TrackOverview&kmlMode

Re: How to get tab Widget in a TabPanel?

2009-06-21 Thread Enea
I think that there are no method to do this, at the moment. what you can have, is the html of the tab with tabPanel.getTabBar().getTabHTML() but this is not what you want... Or you can make the greedy solution. you rewrite your own TabPanel, starting from this: http://code.google.com/p/google-w

Re: How to get tab Widget in a TabPanel?

2009-06-21 Thread Enea
I think that there are no method to do this, at the moment. what you can have, is the html of the tab with tabPanel.getTabBar().getTabHTML() but this is not what you want... Or you can make the greedy solution. you rewrite your own TabPanel, starting from this: http://code.google.com/p/google-w

Re: GeoXmlOverlay - Google Maps API

2009-06-21 Thread Enea
Are your client (browser) and server, on the same machine? I hope yes... Have you a firewall active that maybe blocks the 8080 port? It seems to be a network problem. On 19 Giu, 18:01, Thalles wrote: > Hi Guys, > > I have a problem with the GeoXmlOverlay function from the Google Maps > API. I alw

Re: maps-api Directions color

2009-06-21 Thread Enea
e on that object to change its color > and then manually add it to the map. > > > > On Fri, Jun 19, 2009 at 1:55 PM, Enea wrote: > > > Hi Eric, > > thank you for your answare. > > > I 've tried what you tell me, but setting a style to a > > Directio

Re: gwt and jdbc

2009-06-20 Thread Enea
hm... I had similar problem with jdbc... if you are using eclipse, try to go under Project->properties->google->App Engine and disable "Use Google App Engine" checkbox . regards :) On 20 Giu, 02:00, Petein wrote: > package faceRecognition.server; > > import faceRecognition.client.AuthService

Re: maps-api Directions color

2009-06-19 Thread Enea
1 td { >   color: red; > > } > > .directions2 td { >   color: green; > > } > > Look at the DOM using firebug or another tool to see which elements > and classnames are are defined inside the Directions Panel. > > -Eric > > > > On Thu, Jun 18, 2009

maps-api Directions color

2009-06-18 Thread Enea
hi, This is my first post here... :) My question is if there is a way to change the color of Directions shown on a Map with the gwt-maps api. I have searched in the api but not found... my problem is that i have to display more than one "tour", and it would be nice to show these tours in different

Re: Java Security Permissions / postgreSQL

2009-06-07 Thread Enea
Thanks a lot! Project->Properties->Google->AppEngine-> Unmark "Use Google app Engine" I had exactly the same "difficulty" with gwt+eclipse+postgre :) -Enea On 28 Mag, 18:49, Jason Essington wrote: > If you are using the Google Eclipse Plugin, is your