Click here to Skip to main content
15,906,574 members
Home / Discussions / Java
   

Java

 
AnswerRe: Sun certified java Pin
RaviRanjanKr10-Mar-11 16:47
professionalRaviRanjanKr10-Mar-11 16:47 
Questionproblems setting jquery dialog left and top position Pin
CrafterIt1-Mar-11 1:11
CrafterIt1-Mar-11 1:11 
AnswerRe: problems setting jquery dialog left and top position [modified] Pin
CrafterIt1-Mar-11 2:15
CrafterIt1-Mar-11 2:15 
QuestionJava + MS SQL Server Pin
777goga77727-Feb-11 1:16
777goga77727-Feb-11 1:16 
AnswerRe: Java + MS SQL Sever Pin
Richard MacCutchan27-Feb-11 1:48
mveRichard MacCutchan27-Feb-11 1:48 
AnswerRe: Java + MS SQL Sever Pin
RaviRanjanKr27-Feb-11 5:20
professionalRaviRanjanKr27-Feb-11 5:20 
GeneralRe: Java + MS SQL Sever Pin
777goga7776-Mar-11 6:16
777goga7776-Mar-11 6:16 
AnswerRe: Java + MS SQL Sever Pin
kellyyy6-Mar-11 4:53
kellyyy6-Mar-11 4:53 
May be like this +- sory if iam wrong...

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class DBConnection {
private Connection koneksi;

public Connection connect(){
//for connection to driver
try{
Class.forName("com.mysql.jdbc.Driver");
System.out.println("success load driver");
}catch(ClassNotFoundException cnfe){
System.out.println("not use Driver "+cnfe);
}

//for connection to database
try{
String url="jdbc:mysql://localhost:3306/data";
koneksi=DriverManager.getConnection(url,"root","");
System.out.println("connection succes");
}catch(SQLException se){
System.out.println("Failed connection "+se);
//JOptionPane.showMessageDialog(null,"Failed connection...MySQL server belum aktif");
}
return koneksi;
}
}
GeneralRe: Java + MS SQL Sever Pin
777goga7776-Mar-11 6:08
777goga7776-Mar-11 6:08 
QuestionRecursive Permutation Generator. Pin
shivamkalra25-Feb-11 13:37
shivamkalra25-Feb-11 13:37 
AnswerRe: Recursive Permutation Generator. Pin
Richard MacCutchan25-Feb-11 23:04
mveRichard MacCutchan25-Feb-11 23:04 
QuestionPlease modify the java script for number in indian number format Pin
vinu.111124-Feb-11 22:49
vinu.111124-Feb-11 22:49 
AnswerRe: Please modify the java script for number in indian number format Pin
Richard MacCutchan24-Feb-11 23:10
mveRichard MacCutchan24-Feb-11 23:10 
GeneralRe: Please modify the java script for number in indian number format Pin
Pravin Patil, Mumbai24-Feb-11 23:58
Pravin Patil, Mumbai24-Feb-11 23:58 
AnswerRe: Please modify the java script for number in indian number format Pin
Pravin Patil, Mumbai24-Feb-11 23:54
Pravin Patil, Mumbai24-Feb-11 23:54 
AnswerRe: Please modify the java script for number in indian number format Pin
TorstenH.25-Feb-11 1:23
TorstenH.25-Feb-11 1:23 
GeneralRe: Please modify the java script for number in indian number format Pin
Richard MacCutchan25-Feb-11 2:22
mveRichard MacCutchan25-Feb-11 2:22 
AnswerRe: Please modify the java script for number in indian number format Pin
RaviRanjanKr27-Feb-11 18:04
professionalRaviRanjanKr27-Feb-11 18:04 
Questionhelp me Pin
Mohammed Kherfan24-Feb-11 13:01
Mohammed Kherfan24-Feb-11 13:01 
AnswerRe: help me Pin
Alok Sharma ji24-Feb-11 20:27
Alok Sharma ji24-Feb-11 20:27 
AnswerRe: help me Pin
Richard MacCutchan24-Feb-11 23:10
mveRichard MacCutchan24-Feb-11 23:10 
AnswerRe: help me Pin
RaviRanjanKr25-Feb-11 19:37
professionalRaviRanjanKr25-Feb-11 19:37 
QuestionBlock desktop until app running? Pin
Alok Sharma ji22-Feb-11 1:37
Alok Sharma ji22-Feb-11 1:37 
AnswerRe: Block desktop until app running? Pin
Nagy Vilmos22-Feb-11 1:45
professionalNagy Vilmos22-Feb-11 1:45 
AnswerRe: Block desktop until app running? Pin
TorstenH.23-Feb-11 20:07
TorstenH.23-Feb-11 20:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.