Wednesday, 4 April 2012

DoubleArray - Java

 (By Mohammad Nashir)
Java - Double Array - Copyrighted

"
import java.awt.*;
import javax.swing.*;

/**
* Class DbleArray – The Class is by Mohammad Nashir demonstrating DbleArrays.
*
*
* @author (Mohammad Nashir)
* @version (V1)
*/
public class DbleArray extends JApplet
{
private int x;

            public void init()

{
             JRootPane rootPane = this.getRootPane();
             rootPane.putClientProperty("defeatSystemEventQueueCheck", Boolean.TRUE);
     
}

public void start()
{
}

public void stop()
{
}

public void paint (Graphics g)
{
g.setColor(Color.white);
g.fillRect(0, 0, 200, 100);
g.setColor(Color.black);
g.drawString("Sample Applet", 20, 20);
g.setColor(Color.blue);
g.drawString("created by Mohammad Nashir", 20, 40);
}

public void destroy()
{
}

public String getAppletInfo()
{
return "DoubleArray:    \nMohammad Nashir:     \nThis applet is copyrighted and demonstrates arrays. ";
}

public String[][] getParameterInfo()
{
String paramInfo[][]={
{"firstParameter",   "1-10",    "Number 1 to 10"},
{"status", "boolean", "Status"},
{"images", "http://mohammadnashir.blogspot.com/", "http://mohammadnashir.blogspot.com/"},
};
return paramInfo;
}
}

"
 
This will be soon available on my coding portfolio.

Thanks

P.S. There are some unseen codings that I completed in 2008 for VB.NET and other Programming Languages, however they are not significant, apart from one project in VB.NET.

No comments:

Post a Comment