ff

Recent Posts

JavaSE


How to Install Java JDK and JRE on Windows

I’m going to explain you step by step form the beginning, but if you already know how to install java , you can skip this part
First of all you must download java JDK form www.oracle.com site. You can use following link to download the JDK
I use JDK 7 to demonstrate you how to install JDK and JRE on your Personnel computer


READ MORE>>>

-----------------------------------------------------------------------------------------------------------------------------------------------

Create simple Login useing Java (Part 1)

Today I’m gonna show you how to create a Login using Java, I use Net beans IDE 7.2 for develop this application,
open the Net beans IDE and create a new java application
Go to fileànew Project or press Ctrl+Shift+N  to create new Project
Then you will appear “New Project “ dialog box,
Select “Java” from categories and then select “Java Application” from “Projects” (Figure 1.1)




-----------------------------------------------------------------------------------------------------------------------------------------------

I guess you have completed the Part 1 of this login application tutorial, if not please go to Create simple Login application Java (part 1)http://coderoad.blogspot.com/2013/05/create-simple-login-useing-java-part-1.html and complete it.

When we develop Software, we need to store some data for future usage, we use Database Server for accomplish that objective. In this tutorial I Use MY SQL Server, but you can use Microsoft SQL Server also, if you like

Step 1
Type following queries on MySQL server command line

MYSQL > Create database dehanLogin;
MYSQL >use dehanLogin;
MYSQL > create table login(username varhcar(20) primary key, password varchar(20));

create new java class and name it as DB.java

-----------------------------------------------------------------------------------------------------------------------------------------------


JOptionPane How to Use (For Beginners)



Hi Java warriors.. nice to meet you again..
Today I'm gonna show you how to use JOptoinPane Class.

Basically There are 4 main methods we use often 
1.    showMessageDialog
2.    showOptionDialog
3.    confirmDialog
4.    inputDialog


0 comments :

Post a Comment