desktop-application

How do you control what monitor your application opens on?

落花浮王杯 提交于 2019-12-02 22:12:40
As a two-monitor user at work, I've noticed that applications behave differently with regards to what monitor they open on (primary or secondary monitor, the last monitor the application opened on, and so on). To be honest, some applications annoy me because I want them to open on my primary monitor and I'll move them to my secondary if I want them there. However, these applications are done and out of my control, so I want to ask about my own applications that might be run by people using two monitors. What kinds of controls are available to either allow people to specify which monitor your

Convert Natural Language Questions to SQL Queries

家住魔仙堡 提交于 2019-12-02 21:11:30
I want to convert Natural Language questions to SQL queries using opennlp Java library, i.e. Who won women figure skating in Sochi? should be converted to select name from winners where event='skating_woman' Anybody know which classes will be useful and how to achieve this? Also pasting code which I tried. I have converted question into statements and later into tokens. /////////1st part String paragraph = "Did Matt win the men slalom?"; InputStream is1 = new FileInputStream("bins/en-sent.bin"); SentenceModel model1 = new SentenceModel(is1); SentenceDetectorME sdetector = new

Developing lightweight (no runtime) Windows based GUI applications using free tools [closed]

不羁的心 提交于 2019-12-02 20:32:37
Does anyone know of free tools (languages, environments) that would support development of GUI applications on the Windows platform? I am looking to be able to create a single executable file that has no dependencies on any external runtime or library. I would like to be able to then run this EXE in a very similar manner to Process Explorer or Autoruns from SysInternals. In other words; a no installer, portable application. This application must also provide a reasonably rich windowing (controls, widgets etc) user interface and should run on Windows 2000, XP, Vista and later. I'm aware of C/C+

How to start writing an augmented reality application

99封情书 提交于 2019-12-02 18:23:22
I have been looking at creating an augmented reality application. Can anyone suggest a preferred technology platform to start writing an application of this kind. I would like this to be a desktop application and not a mobile application. Therefore I want to use a webcam with object recognition. Thanks! FLARToolKit is another good place to look. It's free and uses flash + Actionsctript 3. gotoandlearn DOT com has a couple good video tutorial on how to use the library, I'd give you links to them but stackoverflow says I'm not special enough for more than 1 url. Your best bet is probably a cell

Best practice for autoupdates

蹲街弑〆低调 提交于 2019-12-02 18:16:27
For desktop based applications, what are best practices to perform auto updates? Currently, we download all files, then copy and register (if com dll) to their respective directories. I looked at Google Chrome update method. It seems that it first downloads a zipped file into a directory, and then unzips all the files. Also, they have a setup application which seems to be used to do the update. Additionally, they create a directory mapped to update version like 1.0.154.43, but they keep the old version's directory. The recent blog post from the Chromium team is a great guide: http://blog

Working with both adobe flex web and desktop application

﹥>﹥吖頭↗ 提交于 2019-12-02 17:48:50
问题 I need to develop an application using flex. The requirement is to develop both a web app and a desktop application. I need to use a database for this application. I learned that there is a local database which can be used for air application. I do not want to end up writing two applications, hence would like to reuse as much code as possible. So, here is my plan for this: make a library project. write a httpservice like class for interacting with local db in air. a middle layer which takes

How do I store desktop application data in a cross platform way for python?

廉价感情. 提交于 2019-12-02 16:21:50
I have a python desktop application that needs to store user data. On Windows, this is usually in %USERPROFILE%\Application Data\AppName\ , on OSX it's usually ~/Library/Application Support/AppName/ , and on other *nixes it's usually ~/.appname/ . There exists a function in the standard library, os.path.expanduser that will get me a user's home directory, but I know that on Windows, at least, "Application Data" is localized into the user's language. That might be true for OSX as well. What is the correct way to get this location? UPDATE: Some further research indicates that the correct way to

Can we develop very good looking UI in swing and if not what are alternatives

自古美人都是妖i 提交于 2019-12-02 15:53:31
In my current project we have to develop a good looking desktop based application in java. Currently, we have a very basic desktop application written in swing and team does not have good swing knowledge. Can we create a very good looking UI in swing? Should we use JavaFX for creating the desktop application? What are other alternatives to do this? Swing is very flexible with regards to look-and-feel and you can certainly make very good looking applications with Swing. I recommend the book Filthy Rich Clients by Chet Haase and Romain Guy if you want to learn how to make nice Swing GUI

Python on Electron framework

坚强是说给别人听的谎言 提交于 2019-12-02 14:56:55
I am trying to write a cross-platform desktop app using web technologies (HTML5, CSS, and JS). I took a look at some frameworks and decided to use the Electron framework. I've already done the app in Python, so I want to know if is possible to write cross-platform desktop applications using Python on the Electron framework? Thank you bluesummers It is possible to work with Electron but if you are looking for "webbish" UI capabilities, you can check Flexx - it allows you to code in pure Python but still use the styling and UI flexibility of web development tools. If you insist on going on

Creating an installer for Java desktop application

末鹿安然 提交于 2019-12-02 14:56:41
I know this question has been asked many a times and all the time there is an answer which says about using an executable jar or making an .exe using launch4j or similar app. I may sound like a novice, which I actually am. I have been trying a few things with a Java project. I have successfully made an executable jar and also an .exe file from it. All thanks to your previous answers in SO :) But, I want to create a installer for Windows. Like, pressing Next for 2 - 3 times(which shows all the terms and conditions etc), then a user specify a location(like C:\Program Files\New Folder\My App),