I am learning GWT for web development and came across a piece of code I can't really understand.
helloBtn.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
Window.alert("Hello!");
}
});
If someone could explain to me what it is doing that would be great.
Thanks, John
hi
i have a class that runs, it does the following backups a sql, zip, encrypts, ftp to an ftp server. what i want to do is add a GUI.
Need to add a 2 buttons start and finish and progress bar for the procedure.
my class is called backup.cs. i have tried creating a form but doesn't seam to work.
any help would be great full
Ta
Gerard
hi,
I would like to know if it is possible to maintain an authentication (like a session with login and password in php) on a website from a java program, and if anyone had any lead on the subject or some reading for me, that would be great.
thanks
How do you reposition an element within a maplayer? I've successfully added a UIElement to my MapLayer, and it works great! Aside from the AddChild method, I can't figure out how to update the position of my UIElement.
Thanks
I'm working on a simple spell checking app for a lecture that I'm giving. I've got the basic spell checking code working just fine using a child form and NHunspell - great lib, by the way.
However, I'd like for the parent textbox to show the highlighted text for reference, and while I'm setting the SelectedText properties accordingly, the text is not highlighted in the parent. Canceling the child window and the parent text is highlighted.
Anybody know how I can do this?
[sorry for apparent shouting in the title, it's just that the file is named in all uppercase]
Given advice in http://stackoverflow.com/questions/2695124 I successfully implemented and have been using autodeployment in WebLogic. This works great, but a tad too slow to my tastes, it seems like about 10 seconds pass between touching REDEPLOY file and WebLogic's start of redeployment. Is there any way I can instruct WebLogic to test timestamp on that file more often?
Hi all,
I interested using webwork 2, after great experience on struts 1.2 on previous project. But after I checked on link text
the latest release is 2007, and the few documentation tutorial status "is in progress".
anybody know, is it still being developed or released periodically?
Thanks in advance.
Regards,
Mr.K
Looking for example code that uses semantic HTML that I can use to test stylesheets with. The version/doctype is unimportant though HTML5 would be great. By comprehensive I am looking for use of definition lists, forms, tables, plus all the usual.
Thanks
Lets say I have an array : a=[[1,2,3],[4,5]]
and I have another array : b=[[2.5,1.5,3.5],[1.5,2.5]]
I need to sort 'a' with respect to 'b'.
i.e the output should be = [[3,1,2],[5,4]]
I tried but my code seemed to be very lengthy. It would be great if you could help me out.Thanks!
I'm looking for .NET GUI component (different than PDFsharp) allowing preview PDF 1-page document.
Basically I need something similar to PictureBox where I can load bitmaps and show it.
It would be great if that component allows zooming and moving picture inside.
Freeware solutions preferred :)
Hi,
I need to use Session variables in my Silverlight application ( Using Visual Studio 2008, and Silverlight 3). I am already using a webservice (not WCF service) and would like to know if I can add two methods say GetSessionVariable and SetSessionVariable in my existing WebService Class?
Any assistance with sample code would be great!
Regards and Thanks in advance,
Nadeem.
Is there a .NET API available to get data from your XBox Live account?
All I'm really interested in is who's online, but messages would be cool too. And some sort of event driven notifications of user sign-on would be great, but I'll poll if need be.
Hi,
I have an application that write huge .csv files about the size ranging from 1 GB to 2 GB.
I need to color code the file and save it as .xlsx.
So I have tried using Excel Interop and it works great for small files, but when I try to open a 1.3 GB .csv file with Excel, I get an Hresult error.
Any ideas as to how I could accomplish this task either with using Excel, or if there is any other way of doing it.
Thanks!
So I have a connection pool setup. Which is great and all since I have an application that really needs it. However what I would like to know is if it is possible to share this connection pool with other J2SE apps? Would this even be worth it, as opposed to creating a connection pool based on each apps needs? If it would be prudent, how can I accomplish this?
I was reading the following article and the author made it quite clear that unit tests are NOT used to find bugs. I would like to know what your thoughts are on this. I do know that unit tests makes the design of your application much more robust but isn't it the fact that finding bugs through unit tests that make the application robust, besides its other advantages?
http://blog.stevensanderson.com/2009/08/24/writing-great-unit-tests-best-and-worst-practises/
I am considering using MongoDB (mongo-mapper) for a portion of my rails application. I am not ready to go whole hog MongoDB because there are too many useful gems that depend on a traditional DB.
That being said there are parts of my application that would be great to leverage a document database.
Has anyone had success mixing the two approaches? How do you link activerecord models with mongomapper models?
Thanks,
Jonathan
is it possible to port android (android tv) on Nokia booklet 3G , i like the booklet hardware (built in 3g modem and hdmi port and overall build) but windows 7 is horrible.
it would be great to have android with android tv port on nokia booklet 3G
any idea how to do?
Google's Closure Library looks like it has a lot of great features, but I'm not seeing any examples of it used with ASP.NET sites. I'm just wondering if anyone has any experience using the two together and what parts. Is is a good or bad experience?
Google App Engine has a great XMPP service built in. One of the few limitations it has is that it doesn't support receiving messages from a group chat. That's the one thing I want to do with it. :(
Can I run a 3rd party XMPP/Jabber server on App Engine that supports group chat?
If so, which one?
I am now using fminbnd in Matlab, and I find it relatively slow (I am using it inside a nested loop). The function itself, its interface and the values it returns are great, but when looking into the .m file I see it is not optimized. As a matter of fact, I was hoping for something like that to be written as a mex.
Anyone knows of an alternative to fminbnd which works much faster and does not have much overhead?
I would like to know, if you people out there could help me out, regarding the best practices or the a better way for creating a flash website... Actually I would like to know whether we should load the xml first and then the swf and other components or the other way round ?
I am bit confused, even if anybody could refer some book to dig upon the steps or most common practices regarding the development... it would of great help...
Thanks
shane amon
If I had to create a content inventory for a website that doesn't have a sitemap, and I do not have access to modify the website, but the site is very large. How can I build a sitemap out of that website without having to browse it entirely ?
I tried with Visio's sitemap builder, but it fails great time.
Let's say for example: I Want to create a sitemap of Stackoverflow.
Do you guys know a software to build it ?
I recently learned a lot about MVC model which is a very interesting concept. I would assume there are a lot more models out there, and I thought it would be great for people to share some models.
Here's my contribution:
MVC Model: http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller
hello,
I am developing a PC application that interacts with the Wii Remote. So far I have been using the wiiuse library, which has worked great.
However wiiuse does not support the MotionPlus extension.
I have heard of extensions to implement this by Dolphin and libogc but have not managed to locate this code.
Do you know of code that implements support for MotionPlus with wiiuse, or another C based libary?