Posts

Do you know about XUL?

What is XUL and why was it created? XUL (pronounced "zool" and rhyming with "cool") was created to make development of the Mozilla browser easier and faster. It is an XML language so all features available to XML are also available to XUL. Most applications need to be developed using features of a specific platform making building cross-platform software time-consuming and costly. A number of cross-platform solutions have been developed in the past. Java, for example, has portability as a main selling point. XUL is one such language designed specifically for building portable user interfaces. It takes a long time to build an application even for only one platform. The time required to compile and debug can be lengthy. With XUL, an interface can be implemented and modified quickly and easily. XUL has all the advantages of other XML languages. For example XHTML or other XML languages such as MathML or SVG can be inserted within it. Also, text displayed with ...

Kalculate next vesion

Image
  Upcoming version of Kalculate After a big launching of kalculate accounting software company is ready to release first update. Features:  Fixed the issue of 32 bit installation.. User can type and work with their regional language.. Logo in pdf report... Fix the issue of unresponsive screens.. And the user can manage the logo should be displayed on report or not, and also set the alignment of logo.

store and retrieve image data to any database in java

We will insert image data into database in byte[] format Here is a piece of code to convert image data into byte[]:  // image file File file = new File("images/extjsfirstlook.jpg");  // create byte with specified size byte[] bFile = new byte[(int) file.length()]; try {  FileInputStream fileInputStream = new FileInputStream(file);   // bFile is initialized fileInputStream.read(bFile); fileInputStream.close(); } catch (Exception e) { e.printStackTrace(); } //now you can store bFile in database       Here is a piece of code to convert byte[] data into image: try {     // create output stream with a file path where you want to store  // your image on your drive FileOutputStream fos = FileOutputStream("images/output.jpg"); // it will write data byte data into the file specified fos.write(book.getImage()); fos.close() } catch (Exception e) { e.printStackTrace(); } ...

To convert currency from number to string format in Java

Here is a code : import java.util.Locale; import java.util.regex.Pattern; /**  * CurrencyConverter is used to convert the given amount string into words  *  * @author Ravi Sharma  */ public class CurrencyConverter { /** String array of words for tens Names */ private static final String[] tensNames = { "", "", "TWENTY", "THIRTY", "FORTY", "FIFTY", "SIXTY", "SEVENTY", "EIGHTY", "NINETY" }; /** String array of words for ones Names */ private static final String[] onesNames = { "", "ONE", "TWO", "THREE", "FOUR", "FIVE", "SIX", "SEVEN", "EIGHT", "NINE", "TEN", "ELEVEN", "TWELVE", "THIRTEEN", "FOURTEEN", "FIFTEEN", "SIXTEEN", "SEVENTEEN", "EIGHTEEN", "NINETEEN...

To convert currency from number to string format in Java

Here is a code : import java.util.Locale; import java.util.regex.Pattern; /**  * CurrencyConverter is used to convert the given amount string into words  *  * @author Ravi Sharma  */ public class CurrencyConverter { /** String array of words for tens Names */ private static final String[] tensNames = { "", "", "TWENTY", "THIRTY", "FORTY", "FIFTY", "SIXTY", "SEVENTY", "EIGHTY", "NINETY" }; /** String array of words for ones Names */ private static final String[] onesNames = { "", "ONE", "TWO", "THREE", "FOUR", "FIVE", "SIX", "SEVEN", "EIGHT", "NINE", "TEN", "ELEVEN", "TWELVE", "THIRTEEN", "FOURTEEN", "FIFTEEN", "SIXTEEN", "SEVENTEEN", "EIGHTEEN", "NINETEEN...

Launch of KalCulate

Image
KalCulate - is an financial accounting software package purely written on java and FXML. It is product by  OpenLX Technologies . I am very happy to say that after 6 months of hard work finally, the kalCulate is launched on 19/5/2015 and ready to download on kalculate.com . Launching of kalCulate is done by Shri Nitin Gadkari (Minister of Transport Ministry). It is India’s first Linux based Financial Accounting & Inventory Application package. Transport Minister Shri Nitin Gadkari giving speech on Information Technology at the launching ceremony of KalCulate

How to setup java development kit on ubuntu

Download the latest jdk file in .tar.gz format from given link below http://www.oracle.com/technet…/…/javase/downloads/index.html extract the .tar.gz file open terminal type:- sudo tar -zxf jdk_file_name.tar.gz -C /path/to/extract Now set the latest jdk your default jdk type:- sudo update-alternatives --install /usr/bin/java java /jdk/home/bin/java 1 sudo update-alternatives --install /usr/bin/javac javac /jdk/home/bin/javac 1 Now check your java version type:- java -version you will find your java installed in additional you can set JAVA_HOME variable in path type :- sudo nano /etc/bash.bashrc add this lines at the end of file JAVA_HOME=/path/to/jdk/ export JAVA_HOME now save your changes and run !!!!!!!!!!!!!