Want free crypters, packers, joiners that are FUD? Click HERE and put in the code!
Java Fullscreen "Good Bye" : Java Script
It is currently Fri Jul 30, 2010 9:53 pm  

..
~~ VOTE FOR US ~~
Click here to Vote!
<<>>




Post new topic Reply to topic  [ 1 post ] 
 Java Fullscreen "Good Bye" 
AuthorMessage
Paki-Cat
Paki-Cat
User avatar

Joined: 01.2010
Posts: 20
Gender: None specified
Reply with quote
 Java Fullscreen "Good Bye"
Java Source Code that will make the hole screen black and in large green letters

"Good Bye"



Code:
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Font;
import java.awt.Frame;
import java.awt.GraphicsDevice;
import java.awt.GraphicsEnvironment;
import java.awt.Label;
import java.awt.Window;

import javax.swing.*;


public class Client {
   
    public void view() {
       
        GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
        GraphicsDevice myDevice =  ge.getDefaultScreenDevice();
       
        JPanel panel = new JPanel();
        JFrame frame = new JFrame(myDevice.getDefaultConfiguration());
        frame.setContentPane(panel);
       
        Window myWindow = new Window(frame);
        myWindow.setBackground(Color.black);
       
        JLabel label = new JLabel("Good Bye");
        label.setFont(new Font("sansserif", Font.BOLD, 250));
        label.setForeground(Color.green);
       
        myWindow.add(label, BorderLayout.CENTER);
       
       
        try {
            myDevice.setFullScreenWindow(myWindow);
        } catch(Exception e) {
            e.printStackTrace();
        }

    }
   
    public static void main(String[] args) {
        Client client = new Client();
        client.view();
    }
}

_________________
Image

.

Image


Fri Jan 22, 2010 4:02 am
Report this post Post details
Profile E-mail
Online

Please login or register to skip ads
 Java Fullscreen "Good Bye"


Fri Jan 22, 2010 4:02 am
WWW
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


Who is online

Users browsing this forum: No registered users and 1 guest


Quick-mod tools:
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Click here to Vote! Vote 4 me Image and video hosting by TinyPic
phpBB3 free Forum by UserBoard.org | All Rights Reserved.