Another excellent freebie today... Get free online J2EE training from Sun Technology Architect and Java Evangelist Sang Shin.
This is a very comprehensive, self-paced, online course, packed with presentations, tutorials and hands-on exercises.
Enjoy!
[START LEARNING J2EE PROGRAMMING]
Free: Learn Java EE Programming with Sun Expert Sang Shin
Posted by : Dr. Root | 23 August, 2007 | Published in
Subscribe to:
Post Comments (Atom)
I want to Add Color To the source how can i add ? Please HELP
import javax.swing.*;
public class DecimalToBinary{
public static void main(String args[]){
String hex = JOptionPane.showInputDialog(null, "Enter Decimal Value.");
int i = Integer.parseInt(hex);
String by = Integer.toBinaryString(i);
JOptionPane.showMessageDialog(null, "Decimal to Binary = " + by);
}
}