Our social:

Latest Post

Saturday, 24 October 2015

How To Purpose Your GirlFriend Using Java


Lebels: Purpose a girl using java language, Velentine Gift for Java Programmer, Write I Love In java,



package org.smartyy.ilove;

/*
 * @author
 * @Smartyy Sunny
 *@version 1.0
*/

import java.awt.AWTException;
import java.awt.Robot;
import java.awt.event.KeyEvent;
import java.io.*;
public class LoopLove {


public static void main(String[] args) throws AWTException{
Robot r1=new Robot();
Runtime run=Runtime.getRuntime();
try {


run.exec("notepad");
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

r1.delay(1000);
r1.keyPress(KeyEvent.VK_I);
r1.keyRelease(KeyEvent.VK_I);
r1.delay(2000);

r1.keyPress(KeyEvent.VK_SPACE);
r1.keyRelease(KeyEvent.VK_SPACE);

r1.keyPress(KeyEvent.VK_L);
r1.keyPress(KeyEvent.VK_O);
r1.keyPress(KeyEvent.VK_V);
r1.keyPress(KeyEvent.VK_E);
r1.keyRelease(KeyEvent.VK_L);
r1.keyRelease(KeyEvent.VK_O);
r1.keyRelease(KeyEvent.VK_V);
r1.keyRelease(KeyEvent.VK_E);
r1.delay(2000);

r1.keyPress(KeyEvent.VK_SPACE);
r1.keyRelease(KeyEvent.VK_SPACE);

r1.keyPress(KeyEvent.VK_Y);
r1.keyPress(KeyEvent.VK_O);
r1.keyPress(KeyEvent.VK_U);
r1.keyRelease(KeyEvent.VK_Y);
r1.keyRelease(KeyEvent.VK_O);
r1.keyRelease(KeyEvent.VK_U);

r1.delay(2000);

for(int j=0;j<10;j++){

r1.delay(1000);
r1.keyPress(KeyEvent.VK_BACK_SPACE);
r1.keyRelease(KeyEvent.VK_BACK_SPACE);
}
r1.delay(2000);

for(int i=0;i<10;i++){

r1.keyPress(KeyEvent.VK_SPACE);
r1.keyRelease(KeyEvent.VK_SPACE);

r1.keyPress(KeyEvent.VK_I);
r1.keyRelease(KeyEvent.VK_I);
r1.delay(2000);

r1.keyPress(KeyEvent.VK_SPACE);
r1.keyRelease(KeyEvent.VK_SPACE);

r1.keyPress(KeyEvent.VK_L);
r1.keyPress(KeyEvent.VK_O);
r1.keyPress(KeyEvent.VK_V);
r1.keyPress(KeyEvent.VK_E);
r1.keyRelease(KeyEvent.VK_L);
r1.keyRelease(KeyEvent.VK_O);
r1.keyRelease(KeyEvent.VK_V);
r1.keyRelease(KeyEvent.VK_E);


r1.keyPress(KeyEvent.VK_SPACE);
r1.keyRelease(KeyEvent.VK_SPACE);

r1.keyPress(KeyEvent.VK_Y);
r1.keyPress(KeyEvent.VK_O);
r1.keyPress(KeyEvent.VK_U);
r1.keyRelease(KeyEvent.VK_Y);
r1.keyRelease(KeyEvent.VK_O);
r1.keyRelease(KeyEvent.VK_U);




r1.delay(3000);

for(int j=0;j<10;j++){
r1.keyPress(KeyEvent.VK_BACK_SPACE);
r1.keyRelease(KeyEvent.VK_BACK_SPACE);
}
r1.delay(1000);

}

}

}

------------------------------------------------------------------------------------------------------------------------
Procedure to make it executable for non-technical people. Let's see if you girlfriend is a non-technical person then set an enviornment to make it simple executable application.

1st Step

  • create a shortcut in desktop
  • in location section write "javaw com.smartyy.ilove.LoopLove"
  • name for the shortcut[LoveApp] and click finish.


2nd Step


  • right click on the shortcut icon
  • click on properties
  • click on shortcut
  • and provide location of the java class 
  • note: download my sorce folder and paste on any location like D: drive 
  • Locate bin folder path in Start-in box
  • choose shortcut key 
  • choose any icon and click ok


download work folder

After downloading copy this folder on D drive and copy patha of bin and paste in START-IN box. Ensure that you have installed JRE or JDK in your computer system. if not installed go to google and first create java enviornment then set up this application...


if you have done all these things:
Now say your girlfriend  to double click on that shortcut icon created by.... and see what happend...
Good luck guysss and enjoyee new approch to express your love....happy cooading

                                                                                                     Thank you (Smartyy Sunny)

Sunday, 18 October 2015

Day to Day operation in java by using java keywords


Day to Day operation in java by using java keywords
Package creation and uses
Class creation
Variables and method creation
Memory allocation
Controlling and modification
Setting access permission
Setting execution level permission
Establishing inheritance relationship
Representing objects and its member
Handling user mistake

Initially java contains 47 keywords. But 3 other keywords are added in other java releases.
In java 1.2 strictfp is a new keyword added in java keyword list. 
In java 1.4 another new keyword assert is added in keyword list.
In java 1.5 another keyword enum is added in java keyword list.
So, now java has totally 50 keywords to perform special operation. Each keyword has special meaning to perform one task.
Now i am going to show all 50 keyword of java as per their uses.

Thursday, 8 October 2015

How To Transfer Mysql Table Data To Oracle Database Table

hy friendss..
Today i faced a problem or question that most of student face in jdbc programming. and the question is How To Transfer Mysql Table Data To Oracle Database Table. It means copying data from one database to another database. This questionn sounds like it is very complex task but reality is different. you need to follow some steps and then you are ready to start copying...

General

step1: keep tow local database in machine(oracle and mysql).
step2: ready both jdbc api(connector j and ojdbc14.jar).
step3: keep ready driver class name of both jdbc api with url.

Database

In oracle

Table Name Student
 Name                                                    Type
 ----------------------------------------- ---------------------------
 ROLL                                               NUMBER(5)
 SNAME                                            VARCHAR2(20)
 COURSE                                          VARCHAR2(20)

Note: don't insert data in oracle database...bcz we will copy here data of mysql database

In mysql

Table Name Student
 Name                                                    Type
 ----------------------------------------- ---------------------------
 ROLL                                               INT(5)
 SNAME                                            VARCHAR(20)
 COURSE                                          VARCHAR(20)

Note:Insert some values in this table mandatoryy...
GS Blue Funky Casual Shoes





now almost we are ready to write code to copy data from one databse to another database. i am using my eclipse IDE to wirte this code...

                                                     Sample Code: