This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
/** | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.awt.Dimension; | |
import java.awt.Rectangle; | |
import java.awt.Robot; | |
import java.awt.Toolkit; | |
import java.awt.image.BufferedImage; | |
import java.io.File; | |
import javax.imageio.ImageIO; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.BufferedReader; | |
import java.io.InputStreamReader; | |
public class TaskManager | |
{ | |
public static void main(String args[]) | |
{ | |
try { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.awt.*; | |
import java.awt.event.*; | |
import java.net.*; | |
import java.util.*; | |
import javax.swing.*; | |
import javax.swing.event.*; | |
import javax.swing.text.html.*; | |
// The Simple Web Browser. | |
public class MiniBrowser extends JFrame |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Storywriter helps to write stories. | |
* Features : | |
* 1. Save as .txt with your personaized name | |
* @author: Shouvik Mitra | |
* @version: st. date- 28/07/2015 | |
*/ | |
import java.io.*; | |
public class StoryWriter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner; | |
/** | |
* This programs solves all types of quadriatic equation | |
* | |
* @author (Shouvik Mitra) | |
* @version (24/8/2015) | |
*/ | |
public class QuadriaticEquationSolver | |
{ | |
public static void main(String [] args) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.BufferedReader; | |
import java.io.InputStreamReader; | |
public class TaskManager | |
{ | |
public static void main(String args[]) | |
{ | |
try { | |
String line; | |
Process p = Runtime.getRuntime().exec("tasklist.exe"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Games; | |
import java.io.*; // used to allow user to input data | |
public class Snakes_and_Ladders | |
{// start class | |
//Main Method | |
public static void main (String [] args) throws IOException | |
{ // start main method | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
public class RockPaperScissor { | |
public static void main(String args[]) { | |
int scoreplayer=0; | |
int scorecomputer=0; | |
Random r = new Random(); | |
int num = r.nextInt(3); | |
System.out.println("Choose: Rock, Paper or Scissors"); |