desktop

What are the best practices for internationalizing a Java Swing desktop application?

I'm sure there are a lot of methods, but what's the recommended way to do this that has the least amount of impact to your code? The obvious is that you create properties files, but how do you swap the values in the rendering? In J2EE you always just re-render the whole page so it's easy. But in Swing apps, do you just add the code for...

qemu vnc server for remote address

qemu -vnc 0.0.0.0:1 -monitor stdio -hda ubunt* I am running this command but it isn't opening a port. I have checked it with netstat. My goal is to log into the VNC server somewhere else besides locally. ...

finding the app window currently in focus on Mac OSX

I am writing a desktop usage statistics app. It runs a background daemon which wakes up at regular intervals, finds the name of the application window currently in focus and logs that data in database. I manage to do this on Linux desktop with help of xprop utility (you can find it here). How can I do the same on Mac OSX? Is there a d...

Use arrow keys to move the focus to next control

Hi all, I am haveing a windows application, developed using vb.net.Now I need to use the arrow keys to move the focus to the next controls like tabs. The controls are in groupboxes. Is there any idea about how to approach this? In a groupbox I have 3 columns of controls,now my focus is in second column second control. When I press le...

How to programmatically set custom folder icon in GNOME?

Because I know that a simple API call handles setting the custom folder icons in Windows, I looked for an API method to set custom folder icons in Linux. But in this thread, I saw that there is no such a way. Also I learnt that each desktop environment has its own way to set custom folder icons. The way of KDE is clearly described ther...

"pin to desktop" in Win 7, XP compatible

How could I achieve "pin to desktop" effect (i.e immune against "Show Desktop" command) in Win 7, using FindWindow + SetParent approach, or any other approach that would work in XP as well ? I know I could create a gadget, but I'd like to have backwards compatibility with XP, where I have this code doing it fine: IntPtr hWnd = FindWindo...

how to translate fedora yum source into RHEL?

I use fedora 13 on my laptop, and I use 'yum' to install "recordmydesktop" just for fun.One day ,my boss ask me to install "recordmydesktop" into his computer(whose operator is Redhat Enterprise5.2) . Oh ,god ,the yum in his computer does not work! I can't "~#yum install recordmydesktop"!I know the reason is in the 'yum's source',but how...

desktop app with HTML5 interface

Hi, I want to create quite robust desktop app, which will do some basic file analysis (e.g. I need to list all files in directory) and will do some basic visualization of data. I want to use also part of the visualization online (same component). It would be the best to make a HTML5 interface and use it for both. What is the best way how...

me.activecontrol is always returing a splitcontainer name in form(win appln-vb.net)

Hi all, I am using splitcontainer in my form(Vb.Net).Now I need to set focus when the arrow keys are pressed. When I press the arrow keys, Me.ActiveControl in always returning the splitcontainer name. When I paste those controls out of the splitcontainer everything is working fine. Do I need to change the any property, to make the th...

Programatically triggering tab key functionality in a VB.Net windows application

How can I programatically trigger the tab key functionality in a VB.Net windows application? Currently in my application I am using one splitter when I press the tab key, and the focus is moving in the right order. However I need to use arrow keys to move the focus to next controls, in the same way that the focus is going when the user...

Is it possible to create Desktop Application using Java backend & Web Technologies UI

Hi, I would like to create a desktop application in Java & web technologies. The main reason for selecting Java is that it is free, open source, and hence our investment would be minimal and we would save lots of investment with respect to licensing costs, etc. Also, the main reason for selecting web technologies is because our current p...

Hide password on desktop application code

Hi, I have a desktop application developed in C#.NET, with an encrypted database. The encryption password is hard coded in the application code. How can I hide this password, since the code can be accessed through a .net disassembler? Maybe obfuscate the code could be a solution, but how do I create a setup for the application with t...

Clean & archive desktop script (windows)

Right now I have a folder called holding zone on my desktop, so that it stays clear, however this folder gets cluttered and I still have to Manually move things to it from my desktop. I would like to schedule a script to move everything except the holding zone folder into a new folder containing the current date in it's name, then move ...

desktop apps running on browser: XAMPP+sqlite+PHP. is it a good idea?

We are about to start to develop relatively small db desktop apps, running on a browser (analogous to a cashier system). We think the app could be distributed with a standalone webserver (XAMPP) + PHP + sqlite. Source code can be encrypted via ionCube. We already have web-apps and we wish to port them to be used locally, almost with t...

Any way to get access to Java aplication's tittle bar (placement of additional buttons etc.)

Hello, I'm just wondering if there is any way to customize Java application's title bar, I don't mean app name in title bar of course, but total customization, that can be seen in some modern non Java applications which utilize long years wasted space with three buttons in the corner. Any leads? ...

Desktop Widget using PHP

Hi all, I need to create a desktop widget where the users wants to update their details from the desktop html file.i haved tried with ajax but the value getting stored in the database but the response cannot get back to html file,i have included the remote js file into the html file. Im using Windows OS, php 5, Xampp server. the sa...

How to manage authenticated status in EJB3?

There is a task of managing desktop client session status: Ensure only single client is "connected". Force client logout - kill session. Kill client session on timeout due to inactivity. Server-side is JBoss and EJB3. How to achieve such task? ...

what is the difference between java desktop application and javafx???

Can someone tell me the difference/advantages/disadvantage between java desktop application and javafx?? ...

How to populate an ASP.NET web page from a desktop application.

Hi All, I am a Windows Application Developer with very basic web development experience. We are developing a Windows desktop application in .net that monitors and controls some processes over the network. I am thinking of giving a web interface to this application - meaning user can access some part of data from a web browser. (e.g. Sho...

Complicated Windows desktop size increase

Hello, i want to increase desktop size (programically), effect should be like attaching second monitor, on the primary monitor nothing should change after increase. Such trick is needed to hide window off screen and then using PrintScreen get that window image, cutting it from whole screen. P.s. PrintWindow() function wont help here, ...