desktop-application

Self-contained database?

梦想与她 提交于 2019-12-01 22:37:48
Is there a way to distribute a (smallish) self-contained relational database along with an Windows application that does not require users to install additional dependencies such as MS Access, SQL Server, MySQL, SQLite, etc.? Only the application will be accessing the database - not users directly. Microsoft SQL Server Compact 4.0 SQL Server Compact Edition 3.5 SQLite to name just a few. SQL Server Compact Edition 4 I would embed SQLite in my application. There's various ways to do this depending on the language your are using. 来源: https://stackoverflow.com/questions/4789908/self-contained

View PDF through java App

雨燕双飞 提交于 2019-12-01 20:23:38
I want to know how I can view a PDF through a Java App. I am trying to create a application to view PDF using NetBeans 6.8 There are few pdf reader libraries such as iText pdfBox. But they didn't help me Please help me! any help is appreciate Thank You! Check PDF renderer There is also an Open Source PDF viewer plugin for NetBeans here http://www.jpedal.org/support_siNetBeans.php 来源: https://stackoverflow.com/questions/4874354/view-pdf-through-java-app

oauth2 openid connect javascript (electron) desktop application

喜欢而已 提交于 2019-12-01 09:02:34
What is the correct oauth2 flow for a desktop application? Besides a desktop application I have a SPA Web GUI which does use the Implicit flow. There it does not matters if the client Redirects after 3600s to the IdP to issue a new Access token. But the desktop application needs to be running 24/7 or could be running 24/7. So it needs to automatically refresh the access token via a refresh_token. But since the implicit flow does not provide refresh tokens it is probably the wrong flow for a desktop app, isn't it? I guess I need the auth code flow, which does provide a refresh_token. But

IBM Worklight - Can we create a desktop based application?

让人想犯罪 __ 提交于 2019-12-01 07:26:40
问题 Can we create a Desktop application using Worklight? For example, we can create a desktop based applications using Adobe AIR, Titanium, RCP, etc. What such type of applications can we develop using Worklight? 回答1: If you click on Worklight icon, you can create a Worklight environment associated to your worklight project. This is an example on Worklight 5.0.6 Other information here 回答2: In Worklight 6.0.0 you can create a Worklight app that will run on: Windows 8 (hybrid desktop / tablet)

oauth2 openid connect javascript (electron) desktop application

大憨熊 提交于 2019-12-01 05:58:08
问题 What is the correct oauth2 flow for a desktop application? Besides a desktop application I have a SPA Web GUI which does use the Implicit flow. There it does not matters if the client Redirects after 3600s to the IdP to issue a new Access token. But the desktop application needs to be running 24/7 or could be running 24/7. So it needs to automatically refresh the access token via a refresh_token. But since the implicit flow does not provide refresh tokens it is probably the wrong flow for a

Building Cross Platform app - recommendation

扶醉桌前 提交于 2019-12-01 05:49:22
I need to build a fairly simple app but it needs to work on both PC and Mac. It also needs to be redistributable on a disc or usb drive as a standalone desktop app. Initially I thought AIR would be perfect for this (it ticks all the API requirements), but the difficulty is making it distributable, as the app would require the AIR runtime to be installed to run. I came across Shu Player as an option as it seems to be able to package the AIR runtime with the app and do a (silent?) install. However this seems to break the T&C from Adobe ( as outlined here ) so I'm not sure about the legality.

Hiding MySQL Credentials in Application

删除回忆录丶 提交于 2019-11-30 22:21:07
I need to create an application for a company and they would like to have people login to the application to have different permissions to perform different tasks. My initial idea was to create a MySQL database, hardcode the credentials into the application and have the application connect to the MySQL database. The MySQL database would then have a table called "users" which would store usernames, passwords and permissions. The application would then query the server and perform the authentication. The biggest problem with this is having the MySQL credentials hard coded into the application.

Getting location in Windows 8 desktop apps

怎甘沉沦 提交于 2019-11-30 22:04:35
I am a total beginner at C#, but I have used Java a lot. I am trying to use the following code in my app to get location data. I am making a Windows 8 desktop app to use the GPS sensor in my device: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.Devices.Sensors; using Windows.Devices.Geolocation; using Windows.Devices.Geolocation.Geoposition; using Windows.Foundation; namespace Hello_Location { public partial class Form1 : { public Form1() {

jpa on a Desktop SWING Application

谁说胖子不能爱 提交于 2019-11-30 21:26:32
I'm developping a mono user desktop application using SWING. I had a little experience with this kind of application on which i used the java.sql api and figured out that it wasn't confortable at all ... In my new application i'm trying to use JPA for the first time, i've read a lot of tutorials which made me understand almost all what i need, but didn't find a good example for real java Desktop applications. I'm thinking of using the following architecture, but don't know if i'm right ... i think of creating a MyPersistenceUnit class : public class MyPersistenceUnit { private static

jpa on a Desktop SWING Application

久未见 提交于 2019-11-30 17:03:26
问题 I'm developping a mono user desktop application using SWING. I had a little experience with this kind of application on which i used the java.sql api and figured out that it wasn't confortable at all ... In my new application i'm trying to use JPA for the first time, i've read a lot of tutorials which made me understand almost all what i need, but didn't find a good example for real java Desktop applications. I'm thinking of using the following architecture, but don't know if i'm right ... i