Reveal js

Reveal js is very good framework for build web based presentations. It is very pretty and works in most of popular applications. It has lot of features like you don’t want any programming skills to design the presentation. The site says

reveal.js is a framework for easily creating beautiful presentations using HTML. You’ll need a browser with support for CSS 3D transforms to see it in its full glory.

Slides can be nested inside of other slides and there is a zoom feature also in the framework. It support themes and background colors. Go to Reveal js website

How to set JTable Titile with Sinhala Unicode value

This is regarding request of chathura and today i am going to add Unicode based title to JTable. First create a new project using NetBeans and add a new form to project. Then add a new table to JFrame and edit the default table headers with Unicode values.

RC on JTable -> Properties -> Go to Model -> and add your new table headers to there.

Add a new Class called MyFont and i use that class to set fonts to my application

Go to your Main method and add this code inside main method.

MyFont.setUIFont(new javax.swing.plaf.FontUIResource("Iskoola pota",Font.PLAIN,18));

Compile and Run your project and see the output.

To Download the full NetBeans Project click on the below button


How to add uniocde to JOptionPane.showInputDialog in java – Uniocde example

This slideshow requires JavaScript.

In this example i will show create Unicode based Input dialog to your application.In here you can see lot of information’s about Unicode based java applications.First of all i had to define Unicode font for my input dialog.Because when i type Sinhala text in my text box which i used to get name from user it showed me only boxes.But after i set default font my application it has solved.See the code

Read More »

Simple date picker for Java Applications – ( Best Java UI Development )

This slideshow requires JavaScript.

In this application you can learn how to add a simple date picker for your java swing application.I wanted this for one of my project and i enhanced GUI by using look and feel theme and some images.I believe that you will like to this simple but attractive implementation.You can add this functionality for your application and thank for Rose India web site for develop this class.

I created this application by using Netbeans IDE 6.9 and you can open this project after download from below link and customize it with your requirements.


Source (

How to insert Unicode values to MySQL using Java-Part 3

This is the last part of our Unicode based project and in this project we will see how to retrieve our inserted values from MySQL table to our GUI.

You can seeĀ  i have a button andĀ  one combo box retrieve data and display it.Once i click my button it will go to database and get values to array list and fill my combo box. See the below code i did that.

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed

        ArrayList names = new ArrayList();

            conn=getcon.creatConnection();//getting connection

            //execute query

             ResultSet rs = conn.createStatement().executeQuery("select name from unicode");

             while (

                 String Cusname = rs.getString("name");


             DefaultComboBoxModel model = new DefaultComboBoxModel(names.toArray());

        catch(Exception ex)
            JOptionPane.showMessageDialog(rootPane, ex);


same as my previous post i have to create the object top of my class like this.

connection getcon = new connection();
Connection conn;

This method will called once i click the find button.These things normal than any other program.But you must concert clearly about my connection class. Here important things of the program are

Connection class , Use general Unicode font, Use java latest version, Handle exception while you are testing or develop it

Below you can download my complete project and if you have any problem comment on me.Thank you and best of luck

Download this video
Download Project