background preloader

How do I publish my software on Softonic? - Help & Support - Softonic

Related:  Libraries

Publishing Your App To publish your app to the Chrome Web Store, follow these steps: Create your app’s zip fileCreate a developer accountUpload your appPick a payments systemGet app constraints and finish your app’s codeGet the app IDGet the OAuth tokenFinish the appProvide store contentPay the developer signup feePublish your app We’ll go into detail about each step below. To upload your app, you need to create a ZIP file that contains at least one file: your app's manifest. Manifest files are .json files that contain important information about your app. App name - Displayed in the Chrome Web Store and in the Chrome launcherVersion - The version of the metadata, incremented It should also contain a few images and any other files that the app requires. Tips: Set the initial version number in the manifest to a low value, such as 0.0.0.1. Before you upload your app, you’ll be asked to pick a developer account to both own your apps and receive payments. To upload your app, use the Chrome Developer Dashboard.

java - Running an executable jar file built from a gradle based project Gradle – Create a Jar file with dependencies In this tutorial, we will show you how to use Gradle build tool to create a single Jar file with dependencies. Tools used : Gradle 2.0JDK 1.7Logback 1.1.2 1. Project Directory Create following project folder structure : By default, Gradle is using the standard Maven project structure. ${Project}/src/main/java/${Project}/src/main/resources/${Project}/src/test/java/ 2. A single Java file to print out the current date time, and logs the message with logback. DateUtils.java logback.xml <? 3. build.gradle A build.gradle sample to create a Jar file along with its logback dependencies. build.gradle 4. Clean the project. Run the Gradle fatJar task. $ gradle fatJar :compileJava :processResources :classes :fatJar BUILD SUCCESSFUL Total time: 6.4 secs The Jar is created under the $project/build/libs/ folder. 5. Run it – java -jar hello-all-1.0.jar. Done. Download Source Code References My website mkyong.com is hosted by Liquid Web, I really like their fast and helpful support, it saved me a lot of time.

kwhat/jnativehook JDK 5.0 Preferences-related APIs & Developer Guides -- from Sun Microsystems The methods in the Preferences class may be invoked concurrently by multiple threads in a single JVM without the need for external synchronization, and the results will be equivalent to some serial execution. If this class is used concurrently by multiple JVMs that store their preference data in the same backing store, the data store will not be corrupted, but no other guarantees are made concerning the consistency of the preference data. Comparing Preferences API to Other Mechanisms Prior to the introduction of the Preferences API, developers could choose to manage preference and configuration data in an ad hoc fashion, by using the Properties API or the JNDI API as described below. Often, preference and configuration data was stored in properties files, accessed through the java.util.Properties API. However, there are no standards as to where such files should reside on disk, or what they should be called.

swing - How do I save preference user settings in Java? Reading and writing configuration for Java application using Properties class Details Last Updated on 26 September 2013 | Print Email This tutorial will help you getting how to use the Properties class for reading and writing configuration for your Java applications. And at the end, we have a sample Swing application that demonstrates reading and writing configuration for database settings.Table of content: The java.util.Properties class provides API for reading and writing properties in form of key=value pairs. The properties file can be either in plain text (.properties) format or XML format. .properties formatXML format First, let’s look at two small examples:Loading properties file and reading a property’s value The following code loads config.properties file and read out a property called “host”: Setting the property’s value and save the properties file The following code writes value of a property to the config.properties file: We can load the properties file (.properties or XML) using either subclasses of java.io.Reader class or java.io.InputStream class.

Santhosh Kumar's Weblog : <a href=" Kumar's Weblog</a> Sunday October 08, 2006 Implementing Undo/Redo in Right Way - Part 1 I searched the web for some article on implemting undo/redo. But I didn't find the above article interesting, Because it was implementing undo/redo in wrong way. If you are not familiar with Swing's Undo/Redo API, please go through the above article first and then read this post. The Major drawback of the above article is: it suggestes to implement Undo/Redo into the GUI. The above article creates an application which contains a JList with two Buttons [Add] and [Remove]. The following is the GUI Class which contains JList with two Buttons [Add] and [Remove]: 53-61: action to add elements. it promts elements with JOptionPane, You can enter multiple elemented in JOptionPane separating them with comma. 64-75: action to delete selected elements. 72-74: ListChangeListener used to disable [Delete] button, when selection is empty 30-47: Creates the UI components Note that the above class has nothing releated to undo.

Related: