Google-Suggest in Swing Desktop Application - Possible?

Hi All,
I am building my first Java Swing Application. Apologies in advance for any stupid questions I ask w.r.t. Java Swing concepts.
I am building a Billing Desktop Application using Java Swing. My backend is a Microsoft Excel. My clarification are:
*1. I have a set of values in a combo box listed below a jTextField. The values have to be displayed on the Screen as and when the user gives some characters as input. In short, something like a google-suggest functionality.*
*2. Generate pre-defined set of jLabels and jTextFields on the click on a jButton*
If this is too much to achieve with Java Swing, I would highly appreciate if you can share any other means to achieve this.
Thanks,
Vikas
Edited by: Vikas.Vij on Feb 23, 2008 11:38 AM

tutorials http://download.oracle.com/javase/tutorial/uiswing/components/progress.html and http://download.oracle.com/javase/tutorial/uiswing/concurrency/worker.html contains example for that, another examples http://www.java2s.com/Tutorial/Java/0240__Swing/2000__SwingWorker.htm

Similar Messages

  • Steps to setup for my  Java Swing Desktop Application on Macintosh

    hi guys,
    I need help from all of u to create the setup for my Desktop application (developed in swings) on Macintosh. pls give me the references at least. how to approach the tools.
    its urgent...please....
    thanks in advance.
    -siva

    hi guys,
    I need help from all of u to create the setup for my Desktop application (developed in swings) on Macintosh. pls give me the references at least. how to approach the tools.
    its urgent...please....
    thanks in advance.
    -siva

  • What data binding framework to use for EJB(JPA) - Swing desktop application

    Hi!
    I am developing EJB server application which mostly uses the same entities and session EJB's both for web and for desktop user interface. While JSF is working nicely, I am stuck with necessity to make decision with data binding framework to use for desktop application - I investigated:
    - JSR295 reference impementation at java.net (beans binding)
    - Eclipse JFace
    - JSR295 implementation at kenai.com (better beans binding)
    - JGoodies binding
    At present I like JGoodies, but I am not sure whether I am not missing something - I guess - large enterprises should develop a lot of desktop applications as well and what binding framework they are using?

    user454720 wrote:
    At present I like JGoodies, but I am not sure whether I am not missing something - I guess - large enterprises should develop a lot of desktop applications as well and what binding framework they are using?No, not really. I create them sometimes but they are service tools, not part of the main application framework. Generally you keep everything on the server, web based - this keeps it secure, accessible and contained. With all the web 2.0 javascript toolkits available nowadays you can go quite far creating a desktop experience in a browser, with limitations.

  • How to packaging swing desktop application

    Hi,
    Hope i will get answer for my query...
    I have developed one small application in Swing using Netbeans 6.0. I need the procedure to pack the application.
    i.e creating manifest file and i want to run that application in a different machine.
    Gratz,
    Addie

    Read [Packaging Programs in JAR Files|http://java.sun.com/docs/books/tutorial/deployment/jar/index.html] in the "Deployment" chapter of Sun's Tutorial.

  • How can I turn off "Google Suggest" in Firefox. I hate it! hate it! hate it!

    Firefox used to allow turning off "Google Suggest", but that's not possible with recent updates. I never, never, never (never!) want what "Google Suggest" insists on presenting to me. It's really inconvenient and a time waster.

    Do you mean when you type a search, it will give a list of things before you have finished?, a pain....I'm sure there is something to the right of the search box that has a drop down menu, you can de-select it from there
    hope this helps

  • Packaging executable jars for my Swings based Desktop application

    I have developed a swings based desktop application for which we used third party JDIC jar inorder to incorporate the tray icon functionality for our application.
    The problem is i need to provide a distributable for this application and the application's executable jar file gets automatically created as a part of build from IDE [Am using NetBeans6.0]. The Application's exec.jar is not able to locate the jdic.jar and hence am unable to get the tray icon functionality, when i run the application's exec jar.
    i.I tried packaging the jdic lib jar with in the application's jar but got to know that tht can't solve the issue.
    ii.I also tried editing the manifest file to provide the class path to the thrid party jar [jdic] ... but of no use
    Any Help regarding this would be thoroughly appreciated.

    can anyone pls let me know how would i be able to package my application as distributable so that others can deploy and run.

  • Is it possible to make the background invisible in an flash desktop application?

    Hey there,
    I am currently trying to build a small desktop application in flash which works a bit like the scmpoo sheep (scmpoo - Cute little lamb / sheep on your desktop - YouTube). A screenmate with just a few animations and a movieclip tied together in as3.
    My problem now is, that the animated animal should a least look like it really moves on the users desktop, since I found no way to really place it there.
    I already set it to fullscreen mode, which removes the borders but I can't find a way to make the backgound invisible/transparent. In web-browsers this seems to be quite easy, but does it work for the desktop flash at all?
    And if yes, how do I do it?
    thanks for helping

    window style: custom chrome (transparent);

  • Questions on deploying Java desktop applications

    Hello,
    I have searched the forums and been unable to find the information I need. I am not sure this is the appropriate forum to post at but had to start somewhere!
    I have a Java desktop application which has only been used internally at my organization for R&D. We are now working with our legal folks on setting up various licensing options. The funding organization today said that they wanted the software set up such that deploying it externally would have behaviors such as:
    * preventing one CD being used to install on multiple machines,
    * preventing someone from copying the installed software from one machine to another,
    * have a way for the software to "expire" after a set amount of time.
    I have never had to deploy software externally before (nor does it seem has anyone else at my organization - we do science R&D) and am at a loss as to how to best do this. I have googled around a bit but not found any solutions. Has anyone here done this and could perhaps give me some pointers?
    Much Thanks,
    Keri

    kgoorley wrote: Hello,
    I have searched the forums and been unable to find the information I need. I am not sure this is the appropriate forum to post at but had to start somewhere!
    Given you new not only to deployment, but also
    posting to these forums, I will take the opportunity
    to point out that I let this post be for a couple of
    days since in had no Dukes assigned. To my
    eye, dukes indicate how important a question is
    to whoever asked it, and I do not generally have
    time to answer questions that are not important.
    You can add dukes to a thread at any time.
    kgoorley wrote: ..licensing options. ..
    * preventing one CD being used to install on multiple machines,
    * preventing someone from copying the installed software from one machine to another,
    * have a way for the software to "expire" after a set amount of time.
    Web start apps. are usually deployed directly off
    a server/internet site. Although deployment off CD
    is theoretically possible, it is uncommon.
    The basic answer to all your questions as asked is 'no'.
    However, if the legal people can take a slightly different
    line, and that server/site has some 'active' element to it
    (e.g. it is generated using servlets), there might be other
    options worth considering.
    The basic approach would be not to sell licenses
    per machine, but per 'use', in the sense that if
    I were to sell you a license, it would be for 'nn users',
    rather than 'nn machines'. This means that if you
    had a license for 'two' users (let's call them Bob
    and Harriet), both Bob and Harriet could use any
    PC in the organization to use the software,
    but once they were both logged in, no further
    users of the software would be allowed.
    The way to achieve this is to have the application
    'phone home' to the server and tell it the
    username(/password). Every 2-3 minutes,
    the app. should get back to the server and
    confirm it is 'still running..'. If the app. cannot
    reach the server, it reports a problem to the
    user, and exits.
    If the server does not get a 'still running' confirmation
    in a time longer than that few minutes, it assumes
    the app. is off-screen, and frees that 'licence slot'.
    The reason to keep letting the server know it is
    there, is that if Harriet were to be logged in, and
    Bob accidentally trips over the power cord and
    drops Harriet's computer in a screaming heap,
    her app. will never have the chance to 'log out'
    and inform the server to free the slot.
    As such, it is important to allow her to log-in again in
    'a few minutes' (which is probably about the amount
    of time it will take her machine to reboot, and chide
    Bob for his oafish carelessness).
    Using this system, the first & second requirements
    above become redundant - as it is not the number of
    PC's that we care about - just the number of users.
    The third requirement could easily be handled on
    the server-side, checking licenses as users
    log-in, and confirming that license is still valid.
    Edited by: AndrewThompson64 on Sep 27, 2007 7:30 AM

  • How to create Remote Desktop Application in C# or port it from HTML5/JS project ?

    Hi
    How can create Remote Desktop Application in C# template ? I were searching on google but not found example or API for this.
    If can, please suggest for me some solution, example and document.
    And I have JavaScript project template Remote Desktop Application. Can i port it to c# ? Or use Webview to show it ?
    I were create demo use webview to show it but it not run. Maybe i do some mistake or can't be do it.
    Thanks.

    I have no other options.  We already provide the RDP plug-in for JavaScript. I'm not sure what else is needed for this.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with
    undefined objects and unknown namespaces.
    My project needs work with C# Windows Store. So I need RDP on C#, not JS. If we don't support C#, do we have a RDP spec on Windows 8.1 so that we can follow that spec to implement with native code to support RDP?

  • How to create desktop application (AIR) splash screen FB 4.7 ?

    Hi.  I am using Flash Builder 4.7 and with the tutorials and the API documentation on Flex by Adobe I can't seem to find a good solution for creating a Splash Screen for an Adobe AIR Desktop application.  I have found some results for mobile applications but I didn't go into those because I am developing for the desktop.  However if some of the moblie results are valid for porting to desktop I will give them a shot.
    Can anyone point me in the right direction?
    Thanks in advance.
    P.S.  If I port to mobile, I will be porting to Android

    Did you try the newly released SDK from official page, rather than labs? I would also suggest running FB with Java 1.6, if you have it on Java 1.7 - FB4.7 is known to yield some quirks with new java VMs.
    Flash Builder is developed on top of Eclipse platform, which is basically a pluggable architecture - nothing wrong with that. Number of files do not really affect the overall application performance. In general you should not touch that, unless you really know what you doing and can manage all the dependencies on your own. I agree, though, that's is quite unfortunate that Adobe decided to hide the AIR SDK deep inside plugins, instead dragging it out to a top-level folder, where it's visible and available for change. It was possible with Flex SDK configured externally, so why not here?

  • Trouble playing video in Desktop Application

    Hi,
    I'm trying to play two H.264 encoded videos (.mov) within an AS3 desktop application. I have tried publishing both Air and Projector but both are having (different) problems with playback. When testing the swfs within Flash they both work fine.
    I'm using a simple NetStream function to play the videos from a local directory. Like I said they both run fine within Flash, so I feel like I'm missing something obvious, but have found it difficult to find documentation on streaming locally.
    The Air app works best, but can't seem to play the second video. (I also have been having awful trouble getting around security issues of Air as I'm using LocalConnection in another part of the app, so would prefer not to use it).
    The projector starts playing both videos but very quickly starts to stutter and choke, and eventually freezes the entire app.
    The Adobe documentation says that it is possible to use NetStream locally, but maybe this isn't the case?
    Anyone have any ideas?!
    Thanks,
    Maryann

    I think you started the right way - there'd be no reason to suspect this problem would exist initially. I don't have a direct solution for you, but I find that it's helpful to create small-scale samples of what the problem is, and suggest trying the following...
    Create a simple SWF file that only loads & plays the video. Don't do anything else in this file (in the unlikely event that something else is affected video playback), and then view these in the projector and AIR manner.
    Also, just try using the included video component in another simple example, and view in projector/AIR, just to see if you encounter the same playback issues. If you do, I'd initially suspec something about your computer system versus Flash.
    I haven't run across, or seen issues like this, with regards to loading/controlling video using the NetConnection and Netsrream classes... I've done a few projects with H.264 videos, but they were in the MP4 format, not MOV (I'd guess there should be no playback difference, though).
    One last thought - what is the data rate you compressed your videos to? If it's a really high one (2 megabits per second), maybe it's too taxing on your system (and is too high for general broadband viewing, anyways).

  • Updater desktop application via servlet

    Hello
    I am having a desktop application an i want to write an updater to download new versions of application.
    Is it possible to do that with help of o servlet? Because i want the user to send same informantions to certificate to the server and then if it is ok to download the new version of the application or the jars that have change automaticaly.
    Any other suggestion about this?

    Yep, that should work ok, but you will have 2 types of updates to do:
    1-update of your application, not a problem from your updater
    2-updating your updater
    You are going to run into a problem having your updater running and trying to update it, you cannot replace/delete a file that is already open, so here you'll have to go with a shutdown/startup replacement method.

  • JavaFx Script for Development of Enterprise Desktop Applications?

    Hi,
    we are currentlich developing a rather complex business application using Swing. Now the JavaFx stuff seems to get up to speed and we are thinking about changing to build the Gui based on JavaFX.
    The enterprise frontend would be a more or less full-screen application, with many masks to enter data into. The backend is a glassfish bean architecture based on WebServices.
    Is it now the time to go that way? I dont see any usable design applications to integrate many Swing components - and JavaFx Components seems not existing to support all that listbox, treeviews, keyboard focusing stuff I need here...
    I am not very happy about coding all the dialoges per hand as it seems to be the way now...
    What do you guys suggest? Skip it for now? Or go the hard way as an early adoptor to find all the bugs and problems we somehow managed to get working already in Swing?
    Regards

    Hi,
    I've been trying to write a new desktop application using JavaFX and its pretty tough going with what's available in the API at the moment. The 1.0 release is obviously focused more on RIA, which is perfectly understandable considering the market space they are trying to enter and the fact that if you want to write a desktop application you can always use Swing. I think right now it would be suicide to recommend to your employers that you switch to JavaFX.
    The main problem is that JavaFX does not currently have all the standard components you would expect to be able to choose from in order to capture and display data. However, there is always the option of taking whatever Swing component you want to use (e.g. JTree) and wrapping it in the JavaFX SwingComponent class. There are some good examples of how to do that on this wiki page: [http://jfx.wikia.com/wiki/SwingComponents] . But my feeling is, if you're going to build your application out of Swing components wrapped in JavaFX classes then you might as well just write the application in Swing.
    I think that right now its too early for JavaFX enterprise desktops but I do believe that one day they will supersede Swing. JavaFX has so much potential. It will eventually be able to do everything Swing can do and then so much more. And I think Sun will have to start focusing on the desktop market quite soon. They are competing with Flex in the RIA space but Flex has good support for data tables etc and I see a lot of projects going with Flex when they might have otherwise gone with Swing.
    Cheers,
    Kevin

  • Error Installing Adobe Air from Story Desktop Application Installer

    This is truly driving me nuts already.
    Every time I try to install the Desktop Application from the Story website, it says I must install Adobe Air. So I click Install, it shows the progress bar to 100%, then errors out with a window. The window header reads "Adobe AIR Installer" and the main section of the window reads "Couldn't write the application to the hard disk. Please verify the hard disk is available and try again." - There is a Retry and Cancel. Retry does it all again with same results.
    No, I had no previous versions of Adobe Air. So I tried installing AIR direct from the Adobe website, and it installs fine. So I go back to the Story webpage and try installing the Desktop Application again and the exact same set of events as described above happens. I uninstalled the AIR install, tried again, same result.
    I had Production Premium CS3 previously, and installed Production Premium CS5 UPGRADE. All the programs in the suite work like a charm!
    I'm running Windows 7 64 bit with 208 Gig free on my C drive, as well as over 500 gig free spread out over two other drives. 8 Gig memory, and two Nvidia Qadro FX 3500 video cards (If that matters at all). Full admin rights to the PC, not limited in any way.
    A quick Google search shows plenty of other people having the same problem,  just no known fixes I've found!
    HELP!!!
    PS- I have a picture of the error message, but the insert picture link is greyed out and won't let me add anything to this post.

    Here is the installer log entries as requested:
    9/3/10 11:34:54 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] Starting app install of file:///Users/Shared/Downloads/AdobeStory.air
    9/3/10 11:34:54 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] UI SWF load is complete
    9/3/10 11:34:55 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] UI initialized
    9/3/10 11:34:55 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] beginning UI styling
    9/3/10 11:34:55 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] UI styling complete
    9/3/10 11:34:55 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] Unpackaging to /private/var/folders/dJ/dJl0jNt6GK4MiC2esOh-GU+++TM/TemporaryItems/FlashTmp0
    9/3/10 11:34:58 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] unpackaging/validation is complete
    9/3/10 11:34:58 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] application is bound to this version of the runtime
    9/3/10 11:34:58 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] app id com.adobe.AdobeStory
    9/3/10 11:34:58 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] pub id 4875E02D9FB21EE389F73B8D1702B320485DF8CE.1
    9/3/10 11:34:58 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] Application located at /Applications
    9/3/10 11:34:58 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] The certificate of the installed app fails to match either the signature or migration signature of the AIR file
    9/3/10 11:35:01 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] starting cleanup of temporary files
    9/3/10 11:35:02 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] application installer exiting
    9/3/10 11:35:02 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] application installer exiting
    9/3/10 11:35:02 AM com.apple.launchd[223] ([0x0-0x40040].com.adobe.air.ApplicationInstaller[344]) Exited with exit code: 9
    Thank you for your help.

  • Web application and desktop application?

    Hi everyone,
    I am new to this platform.I have a basic doubts that whats the difference between developing application in flex as a web application and desktop application from programming point of view?Can we use same code in both cases?
    Please guide me....
    Thanks

    Hi and welcome,
    The main difference between a web application and a desktop application is that web applications do not have access and can't manipulate your local system ( you can't open a window that displays all your local files, you can't delete, rename, edit local files and so on ). Obviously, this is just one difference, there are many more ( the best would be if you google for "web aplication vs desktop application" because the same rules apply for 99% if not all the platforms you can find out there ).
    Desktop applications can have full control of your local system ( obviously, we have to take in consideration the platform we are using because since AIR is quite new in the desktop application field it is also more limited than other languages that have been used successfully to create desktop applications for years and year; like ce C# or C++ and so on ).
    Another important difference is that desktop applications usually need to be installed in order to function where on the other hand, web applications can run in the browser without you having to install the aplication you are about to view on your computer ( in some cases, like of the Flash and Flex platforms, you only require a "special player" that can display the content you are trying to access... for Flash and Flex applications you need the Flash Player installed for your browser ).
    So, before jumping into a project/platform you need to know your target. If you goal is to offer a fast, easy to access and no install required application to your users then you'll usually go with a web application. If your application needs to work with local files, maybe local databases, or it needs more control over the user's PC and so on, then you'll most likely go with a desktop application.
    With kind regards,
    Barna Biro

Maybe you are looking for