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.
Showing posts with label swing. Show all posts
Showing posts with label swing. Show all posts
Friday, 26 July 2013
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.
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.
- add text Editor to Jframe.
- right click --> properties.
- Click Icon --> Import to project.
- then click Ok.
- Click Edit text -- remove generated Text.
Using the code , you can do:
- jLabel1 = new javax.swing.JLabel();
- String icon_xpath = "jLabel4.icon";
- jLabel1.setIcon(icon_xpath); // NOI18N
- jform.Add(jLabel1);
Subscribe to:
Posts (Atom)