desktop-application

App as a desktop environment (Linux) [closed]

蹲街弑〆低调 提交于 2019-12-11 23:18:44
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed yesterday . Want to make the desktop environment as the application. Is it possible? No need to say that I need a window Manager and other things... I know that it is easier to write on Qt, but I need it to run the application as the environment. 回答1: You could spend many months or more

Unable to access clipboard in FileSystemWatcher's renamed event

Deadly 提交于 2019-12-11 20:40:07
问题 I have an object of FileSystemWatcher called 'watcher' instantiated in my main function. I tried to store the text on clipboard in a string variable during the 'watcher.renamed' event but it always returns empty data? I checked the value of the variable with the help of a breakpoint, it remains empty. Here is the code: private void Form1_Load(object sender, EventArgs e) { FileSystemWatcher watcher = new FileSystemWatcher(); watcher.Path = Application.StartupPath; watcher.Filter = Path

Loader animation for C# desktop based application

孤街浪徒 提交于 2019-12-11 17:57:30
问题 Is there a way that similar in jquery ajax beforeSend and complete in C#? Because in web I usually do when pressing like an add button i set beforendSend: a function to show an image and hide image function in complete: And now I want to do in C# desktop application. Is there any similar to that? like some kind of using a progress bar 回答1: Is this a winforms application? It has a ProgressBar control you can use. There is one for WPF as well. But you will want to do your processing on a

How to open file without extension

心不动则不痛 提交于 2019-12-11 16:49:33
问题 I would like to try open file without extension. When I try to open file without extension, then system show me "Open with" form. But when I am trying to open that file in side my application using method: private static void openFile(String fileName) throws IOException { if(Desktop.isDesktopSupported()) { Desktop desktop = Desktop.getDesktop(); File file = new File(fileName); desktop.open(file); } else { Runtime.getRuntime().exec(String.format("cmd /c start %s", fileName)); } } system don't

Adding JFXPanel to a JFrame. Why is it not working?

非 Y 不嫁゛ 提交于 2019-12-11 15:59:57
问题 I am trying to add a JFXPanel to my JFrame. I am using Netbeans and Netbeans' Swing GUI Builder. When I run it I do not get any errors and the JFrame is created successfully but the JFXPanel with the text does not appear. Here is my code: public class TestingFX { private static void initJFrame() { NewJFrame frame = new NewJFrame(); final JFXPanel fxPanel = new JFXPanel(); frame.add(fxPanel); frame.setVisible(true); Platform.runLater(new Runnable() { @Override public void run() { fxPanel

Alternative to PageLoad in Windows Forms

走远了吗. 提交于 2019-12-11 13:47:45
问题 I have many events on a Windows Forms form. I have a feedback label, and I have to write feedbaxk.Text=""; at the beginning of each event. In ASP.NET, I have been using to write it only once in the page_load event which is fired on every postback, but Form Load fires only once. I have tried to search with the title of my question and found following two closest answers: WinForms equivalent of ASP.NET page load event (Bytes) WinForms equivalent of ASP.NET page load event (PC Review) There is

How can I make file association in Qt installer(1.5.0)?

牧云@^-^@ 提交于 2019-12-11 13:19:52
问题 How can I make file association in Qt installer framework(1.5.0) on Windows? I want to do this: For example, when I double click myFile.x then my qt desktop application(Windows) will launch and open this file. I want to correct this in installscript.qs : component.addOperation("CreateShortcut", "@TargetDir@/A.exe", "@StartMenuDir@/A.lnk"); component.addOperation("RegisterFileType", "fl", "@TargetDir@\\A.exe" + "'%1'", "myFiles", "text/plain", "@TargetDir@/A_icon.ico", "ProgId=A.fl");

How do I request UAC administrative privileges with a JavaFX desktop application bundle?

拥有回忆 提交于 2019-12-11 12:26:26
问题 I need to elevate the permissions of a JavaFX desktop application. Not the .jnlp or the web version. This program will be deployed to desktops so <fx:deploy ... > <fx:application ... /><fx:resources> ... </fx:resources> <fx:preferences ... /> <fx:info ... /><fx:permissions elevated = "true"/> <!--THIS DOESN'T WORK!!!--> </fx:deploy> won't work. I can get the program to run fine in my IDE, and when I deploy and set the properties of the application shortcut to run the program as administrator

Nitrous Desktop cannot sync files due to unison error

别说谁变了你拦得住时间么 提交于 2019-12-11 11:28:58
问题 I am using Nitrous Desktop (Windows 8.1 x64). Whenever I try to sync, there is an error: Error: server: end_of_file exception raised in loading archive (this indicates a bug) What all I tried: Re-create ssh keys Delete .unison folder What should be done here to sync normally? Any help appreciated ! 回答1: Deleting the .unison folder on the box did the trick. What I was trying to do is to delete the .unison folder on my local machine. 来源: https://stackoverflow.com/questions/27331349/nitrous

Java desktop application with google maps

社会主义新天地 提交于 2019-12-11 07:58:48
问题 I need help with these, I am currently developing an a desktop aplication in java with netbeans IDE. One requirement of the app is that must have a map on it. I was serching and i find these: https://today.java.net/article/2007/10/24/building-maps-your-swing-application-jxmapviewer. But i try to downoad the JXMaptKit or the JXMapViewer but i dnd't found it. Can anyone knows a workaround of that problem or an example that i can use? Thanks! PD. the app that i'm currently developing is for