by | 03/03/17 | 0 Answers | Tags : array , Java , ArrayList , difference Views : 203
what is Difference between Array vs ArrayList in Java ?

Read more

by pratik | 21/02/17 | 2 Answers | Tags : Java , JDBC , Error Views : 216
i found following error with Full error [le] The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:989) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:341) at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2251) at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2284) at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2083) at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:806) at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:410) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:328) at java.sql.DriverManager.getConnection(DriverManager.java:664) at java.sql.DriverManager.getConnection(DriverManager.java:247) at swingtest.SwingTest.main(SwingTest.java:38) Caused by: java.net.ConnectException: Connection refused: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:211) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:300) [/le]

Read more

by | 09/02/17 | 1 Answers | Tags : Java , how-it-work , how-to-use , swing Views : 222
how to use GroupLayout in Java Swing ? what is meaning of above statement in Java Swing ? how one can adjust Layout In Java Swing ?

Read more

by lain | 28/01/17 | 2 Answers | Tags : Java , YouTube-API , how-it-work , how-to-use Views : 414
how to use Youtube api in java

Read more

by debugger | 27/01/17 | 1 Answers | Tags : HTML , XHTML , Java , PDF Views : 244
how to convert html to PDF in Java

Read more

by debugger | 27/01/17 | 2 Answers | Tags : Eclipse , Java , jar , NetBeans Views : 392
i tried to add .jar file to Java Swing Application at Eclipse , but did not get success . so i turn to NetBeans but still not got sucess so can any show me how to add .jar file to Eclipse or NetBeans

Read more

by david | 27/01/17 | 2 Answers | Tags : Mysql , Java , swing , resultSet , TableModel , ​JTable Views : 646
coding my first application for Swing (Java) trying to fetch the result from MySQL and loading it to JTable i have done Now how to apply resultSet in setModel(TableModel dataModel) need to convert resultSet To TableModel in Java Swing ? how to do it ?

Read more

by Phpworker | 26/01/17 | 2 Answers | Tags : Java , SQLite , ClassNotFoundException , JDBC Views : 285
i have made some code to connect with SQLite in Java following is what i made but getting some error java.lang.ClassNotFoundException: org.sqlite.JDBC So whats wrong with it ?

Read more

by ajamil | 24/01/17 | 1 Answers | Tags : Java , threadSafe , SplittableRandom Views : 249
Is Java SplittableRandom.split() threadsafe?

Read more

by | 05/01/17 | 0 Answers | Tags : array , Java , type-casting , ArrayList Views : 150
convert array ---> ArrayList suppose array is defined like this whether it auto type conversion array to ArrayList or any conversion method or what ?

Read more

by | 04/01/17 | 2 Answers | Tags : Java , static , final Views : 218
what is difference between keyword "Static" and "final" keyword in java , what are the use of it so we can justify and utilize object oriented concept , if good example will great help

Read more

by shabi | 18/12/16 | 1 Answers | Tags : Android , object-monitoring , Java Views : 220
How can i measure distance of object from camera in android ? i am developing app for android people can measure distance from their mobile to particular object , and i found some app also working on same concept like some android app :: smart distance - etc. give me some hint so i can measure distance of object from camera in android .

Read more