Thursday, June 29, 2017

Registration Form JSwing

thumbnail
Code: import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; impo...
Wednesday, June 28, 2017

Notepad Using Java

thumbnail
Code: package com.nearur; import java.awt.FileDialog; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; impor...

CountDown Timer

thumbnail
Code: class Timer implements Runnable{ Thread t; int n; public Timer(int x) { t=new Thread(this); n=x; } public v...

Stack Push Pop Threads

thumbnail
Code: class stack { int[] a; int top=-1; public stack(int size) { a=new int[size]; } void push(int x){ if(top==a.lengt...
Tuesday, June 27, 2017

Source Code Analysis

thumbnail
Following code will print the number and names of Objects,Classes,Interfaces created in java source file. Code: import java.io.*; imp...
Monday, June 26, 2017

MyScanner Class

thumbnail
Following Code will define a class MyScanner to take input from user using InputStreamReader .. Code: import java.io.BufferedReader; ...

MyInteger Wrapper Class

thumbnail
Following Code define a Class MyInteger Which acts as a Wrapper class for integer : Code: class MyInteger { int i; MyInteger(int i...