Java

Decimal to Binary Converter in Java (Console Based)

Today, we will try to create a Java program that enables the user input a DECIMAL number then it will convert to its BINARY equivalent value. If you remember, I posted a tutorial about a Java program that converts a decimal number to its octal value (you can read here). There are lot of sites from the Internet that you can download the program source code but in this tutorial, I made my own code

Whois Gui Application

import java.awt.*; import javax.swing.*; import java.awt.event.*; import java.net.*; import java.io.*; public class Whois extends JFrame { JTextField t1; TextArea t2; JButton b1; FlowLayout f; JProgressBar pb; Timer timer; final static int interval = 1000; int cc=0; Whois(String s) { super(s); t1= new JTextField(30);