Sunday, March 25, 2012

JOptionPane Java Programming Part 2

JOptionPane Java Programming Part 2, in this article i will share to you about read input data from keyboard using JOptionpane and show inputed data using JOptionPane too. For read input data from keyboard on this section, i will tell to you using ShowInputDialaog and for show inputed data using ShowMessageDialog. Before it you must know that default Data type for input keyboard is String.

okay this is sample code for read and show input from keyboard :

import javax.swing.JOptionPane;
public class tryinput {
public static void main(String[] args){

String test="";
test = JOptionPane.ShowInputDialog("Please Enter Your Site");
String test2 = "you inputed" + test + "as your site";
JOptionPane.ShowMessageDialog("null, test2");

}
}
okay, try this code in your java editor run and modified this code :D
READ MORE - JOptionPane Java Programming Part 2

Saturday, March 10, 2012

JOptionPane Java Programming Part 1

JOptionPane Java Programming Part 1, on this section i will show to you how to using JOptionPane in java programming language. JOptionPane is used for showing dialogbox or maybe you know it as popup dialog. For using this dialog box you must import swing JOptionPane this is the code to import JOptionPane :

import javax.swing.JOptionPane;
After you importing thats you can show message dialog with JOptionPane with this code :
JOptionPane.showMessageDialog(null, "your message here");
Chage the blue text with your words which you want to showed in your dilaogbox, didn't understand? okay i will give example full JOptionPane source code :

import javax.swing.JOptionPane;
public class trypopup {
public static void main(String[] args){
JOpyionPane.showMessageDialog(null, "http://blogpostat.blogspot.com/");
}
}
if you run this code you will see http://blogpostat.blogspot.com/ in your message dialog.
READ MORE - JOptionPane Java Programming Part 1

Tuesday, January 31, 2012

God Bless America Lyrics

God Bless America Lyrics


Words and music by Irving Berlin
© Copyright 1938, 1939 by Irving Berlin
© Copyright Renewed 1965, 1966 by Irving Berlin
© Copyright Assigned to the Trustees of the God Bless America Fund
International Copyright Secured. All Rights Reserved.
Used by Permission

"While the storm clouds gather far across the sea,
Let us swear allegiance to a land that's free,
Let us all be grateful for a land so fair,
As we raise our voices in a solemn prayer. "

God Bless America,
Land that I love.
Stand beside her, and guide her
Thru the night with a light from above.
From the mountains, to the prairies,
To the oceans, white with foam
God bless America, My home sweet home.

i found this lyrics here : http://www.scoutsongs.com/lyrics/godblessamerica.html

God Bless America now be trending search on america, i din't understand what is that because im not live at america now maybe tommorow :D i searching on google search engine and i find god bless america is a song, on the top of this post is the lyrics.
READ MORE - God Bless America Lyrics

Thursday, January 26, 2012

Animated .gif Avatar Twitter 2012 Real Work

have you ever see someone on twitter with .gif or animated avatar on twitter? You interest about that, then you upload your animated images and its not work? so now you are in the right place. To make your avatar on twitter animated you must make your .gif animated not more then 2 second and your .gif animated not more then 7 kb filesize, you can decrease your .gif avatar on twitter using animated .gif with 64 colors. Okay that the simple tips, remember: Less then 2 second, less then 7 kb and using 64 colors. Then go to your twitter setting and go to profile and upload your .gif images then enjoy your animated gif avatar on your twitter profile.

Why animated .gif avatar twitter ?
1. This is increase your follower, because less people can do that.
2. You can make promotion on your twitter avatar
3. This is so cool :D

What kind of an interesting avatar ?
1. Video animated (
continuous picture like movement)
2. Accordance with your twitter about (If your twitter about health care you can use animated .gif twitter avatar like heart or etc)

Like what animated .gif avatar twitter with 64 colors, less then 2 second and less then 7 kb ?
http://i471.photobucket.com/albums/rr79/ghielz/Twitter_mote_by_BurgerBunny.gif
http://i1193.photobucket.com/albums/aa346/immabelieberdonthate/justin-bieber-gifs-41-from-wwwbieb_tv_.gif

Preview :
animated twitter avatar
animated twitter avatar
animated twitter avatar

READ MORE - Animated .gif Avatar Twitter 2012 Real Work

Tuesday, January 24, 2012

How To Play Counter Strike CS Online 1.6

Are you bored to play counter strike with BOT or CPU ? i think this is very good idea beside using LAN game Counter Strike, you can use internet network to play counter strike. To play counter strike online you must have a good internet connection and usually many servers using counter strike protocol 48, if you using protocol 47 you must update your patch.

How to update patch counter strike protocol 47 to protocol 48? This is video tutorial from youtube :



WARNING: KEEP A BACKUP OF YOUR COUNTER-STRIKE INCASE THIS PATCH DOESN'T WORK!

This patch will only work on digitalzone v35 so make sure you download the latest version.

Patch download

http://www.sank.bt-clan.com/nonsteam/prot48.rar

http://www.uploadjockey.com/download/4881337/cstrike16_v35_v36_patch.rar

DigitalZone v35:

Megaupload:
http://www.megaupload.com/?d=B512TEOD

Torrent:
http://thepiratebay.org/torrent/4285901/CS16_full-V35_DiGiTALZONE

Rapidshare:

http://rapidshare.com/files/128878622/CS16_full-V35_DiGiTALZONE.part1.rar
http://rapidshare.com/files/128878625/CS16_full-V35_DiGiTALZONE.part2.rar
http://rapidshare.com/files/128900267/CS16_full-V35_DiGiTALZONE.part3.rar
http://rapidshare.com/files/128900268/CS16_full-V35_DiGiTALZONE.part4.rar

pw: DiGiTALZONE

Install Both Into:
C:\Counter-Strike v48

Servers:
121.209.242.163:27015
203.98.81.22:27031

Okay after you can join in servers which using 48 protocol. If you not update your patch protocol you can still play cs from internet network, there are many servers using 47 protocol. Okay this is step by step tutorials how to play counter atrike online :

1. Play your counter strike 1.6
2. Go to Find Server
3. Go to Favorites
4. Click add server
5. Input servers, for example 121.209.242.163:27015 or 203.98.81.22:27031 for protocol 48. you can find another counter strike online servers list here http://www.cstrike.ro/cs_1.6_servers.php
6. After that duble clik or click join to the room.
7. Now you can play counter strike with internet network.

okay i hope this post can help you.
READ MORE - How To Play Counter Strike CS Online 1.6