Your are here: Home → Posts Tagged With Java
Blank Frame In Java
A blank frame window ::
import javax.swing.*;
public class swingstart
{
public static void main(String[] args)
{
SimpleFrame frame=new SimpleFrame();
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
}
}
class SimpleFrame extends JFrame
{
public SimpleFrame()
{
setSize(DEFAULT_WIDTH,DEFAULT_HEIGHT);
...
A Java IDE I Have Decided To Use
JAVA
JCREATOR
Screenshot ::
Advantages ::
In built templates for on the fly development.
A wizard support to quick project development, helps for large projects.
Fast code edting with fast support for project management.
Aplications can be run as applets.
Auto indent, code completion and word completion.
Can be run from a USB drive.
JCreator :: Homepage
Download JCreator :: Download...
A Java IDE I Use
BlueJ
The BlueJ environment was developed as part of a university research project about teaching object-orientation to beginners of the java programming language. Also it gives a good feeling as the IDE is totally made in Java.
All research and developments on the platform are maintained by a joint research group at Deakin University, Melbourne, Australia, and the University of Kent in Canterbury,...
The 25 Factorial in Java
In Java, the factorial of large numbers can be easily implemented in SE6 using the bigInteger class. The logic is the same as for finding factorials. The code goes as follows ::
import java.math.BigInteger;
import java.lang.*;
import java.util.Scanner;
class largenumber
{
public static void main(String args[])
{
Scanner in=new Scanner(System.in);
System.out.println("Enter a number for factorial");
int...
Tags: Java, Programming

