Showing posts with label Desktop. Show all posts
Showing posts with label Desktop. Show all posts

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);

Sunday, 23 June 2013

Add Swing plugin to Eclipse.

To add the swing plugin for easy buildup your Desktop GUI using Eclipse


 Just follow these tips:

  1. Open your "Eclipse " .
  2. Go to "Help" tab.
  3. Click in "Install new Software..."
  4. A new window will appear, in the field "type or select a site" put: "http://dl.google.com/eclipse/inst/d2wbpro/latest/4.2" and press "Enter".
  5. Select all available updates and click "Next".
  6. Now just proceed the installation. Later you will need restart the Eclipse. Do that.
enjoy :)