Showing posts with label swing. Show all posts
Showing posts with label swing. Show all posts

Friday, 26 July 2013

Total Validation on JTextFiled inputs #java #swing 3 steps

I had found a simple and created an util class that can help in easy way to handle a lot of validations in JText files.

Only in 3 steps in easy way :


Wednesday, 24 July 2013

how to change the coffee cup in #Java Frames #GUI

it's weird when you install your program to customer and found that cup in your frames,

While handling this issue is very easy.


you just want to change the icon Image of your fame.

Friday, 28 June 2013

Add pictures in Jframe - #Netbeans #java

in this tutorial you can add a picture to JFrame in 5 steps.

  1. add text Editor to Jframe.
  2. right click --> properties.
  3. Click Icon --> Import to project.
  4. then click Ok.
  5. Click Edit text -- remove generated Text.

Using the code , you can do:

  1. jLabel1 = new javax.swing.JLabel();
  2. String icon_xpath = "jLabel4.icon";
  3. jLabel1.setIcon(icon_xpath); // NOI18N
  4. jform.Add(jLabel1);