desktop-application

JavaFX for Presentation Layer in Standalone Desktop App

大兔子大兔子 提交于 2019-12-07 12:16:21
问题 We are going to create a java standalone Desktop application. We are searching for the best solution for the presentation layer. I saw javaFX and really liked it, but I am a bit confused. Can it be used in standalone Desktop applications? Can I use javaFX in my standalone Desktop app and also use css to style the Ui? 回答1: It is perfectly possible to use JavaFX in a standalone Desktop app and apply CSS styling to it. In JavaFX's lingo, this is know as a "Standalone" or "Self-Contained"

Unable to checkin UserControl.xaml files in TFS. Receving error: TF10169

南笙酒味 提交于 2019-12-07 09:23:34
问题 Project Type in Visual Studio 2013 is Desktop Application. And I have added a user control in XAML format in that desktop application. I used some compatibility functions and libraries so that xaml control be able to integrated with simple desktop application. TFS is checking In other related files, but when moved xaml files from 'excluded' section to 'included' section in tfs pending changes window and check In. TFS donot checkin any file and give me following error: The following issues

How to use Python and HTML to build a desktop software?

自闭症网瘾萝莉.ら 提交于 2019-12-07 07:43:21
问题 Maybe my question is stupid but I still want to ask. I am always wondering whether I can use Python, HTML and Css to develop a desktop software. I know there are alrealy several good GUI frameworks like Qt, Tk and etc. But the various sources of HTML and JS frameworks are still attractive to me. I don't mean a software which is just like a web application where there is a frontend and Python acts as a server side language either. I mean use Python like other GUI frameworks. I can create

SVG in Titanium Desktop?

青春壹個敷衍的年華 提交于 2019-12-07 05:49:11
问题 I'm running the 1.1.0 SDK of Titanium Desktop and only my SVG text elements are rendered properly. SVG methods such as getBBox() give error messages. The application works well outside the Titanium environment - that is: Chrome, Firefox, Safari. Any ideas on how to solve this? (What browser + version is really running inside Titanium??) Thanks. Edit: Example SVG code: <svg width="400" height="400" viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg" version="1.1"> <title>Example

Is JavaFX a choice for Dynamic GUI for desktop or standalone applications? [closed]

浪子不回头ぞ 提交于 2019-12-07 03:57:28
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I want to make Dynamic UI for a desktop application. I am planning to make it in JavaFX. Is it a good choice? Second thing I want to

Java web app as desktop app, which frameworks should I choose?

痞子三分冷 提交于 2019-12-07 00:54:10
问题 I need to make a web app that I would be able to install as a desktop application on a client PC (database, jetty+war, firefox/chrome/sth portable). The application is a quite big search app (I MUST use Lucene). There are only few screens, some dependencies in search queue, etc. Now I need help in choosing correct components. Application must be: Light - minimalistic and user friendly frameworks (Java + JavaScript) Efficient - working on old PCs and working fast Developer Friendly - I would

How to manage desktop file database versions?

蹲街弑〆低调 提交于 2019-12-06 16:29:32
How to manage database changes while upgrading desktop applications? We have a SQLite database for one of our desktop apps. The uninstaller keeps the database to be used by the next install. But what if the next install has an updated version? How to keep the data but upgrade the tables? We use .NET and Linq2sql Here is how I do this: In my code I define the version of the database #define DB_VERSION 2 This version number is incremented every time I make a change to the code that 'breaks' the database ( makes an incompatible change to the schema or the semantics of the db contents ) When the

Titanium Desktop createProcess to run shell script

前提是你 提交于 2019-12-06 13:51:13
I'm new to Titanium and am trying to create a small test. I am on a Mac and trying to run the following code: <a id="btn-file" href="#">Create File</a> <script type="text/javascript"> document.getElementById("btn-file").addEventListener("click", function() { var process = Titanium.Process.createProcess( ['touch', 'file.txt'] ); }); </script> However, file.txt is not created. How do I run a terminal command from Titanium Desktop? Eventually, I'd like to click btn-file and it runs a shell script. Thanks! You're missing a call to the "launch" method. You create the process, but don't do anything

Connection pooling in Swing based Application

試著忘記壹切 提交于 2019-12-06 13:00:41
问题 I have one application in Java Swing. In which i have used one connection for the application on single database. But now multiple users are usig that application , so everytime new connection is getting created. DB is coming very slow in performance; Can I use connection pooling in Swing based desktop based application. DB used is SQL server 2000. Any help appriciated. Thanx in advance. 回答1: Yes you can use C3P0 There are many connection pooling libraries in fact. 回答2: http://commons.apache

Disappearing System Tray icons

萝らか妹 提交于 2019-12-06 12:54:43
Im creating a system tray application in visual studio 2010, using C#. When the application starts i create my thread and a system tray icon. THe icon shows, however whenever i mouse over the icon, it disappears ( the application is still running ), and even if i click the button to show all hidden icons, it doesnt display. However, if i dont try to mouse over on it, then it stays their in the system tray. Any Thoughts or experience? Thanks in advance Thanks for the answers guys. Uhh, something i did to fix before so although for those who are perhaps curious. I initially wasnt using a windows