All Java related Questions

by pratik | 26/04/23 | 2 Answers | Tags : Java , Socket-Programming Views : 245
Explain Socket Programming in Java, how to do it ? where to start coding etc..

Read more

by kord | 26/04/23 | 1 Answers | Tags : Java , JDBC Views : 439
how to use JDBC in Java ?

Read more

by ruby-rails | 25/04/23 | 1 Answers | Tags : Java Views : 284
What is Exceptions in java? How to use Exceptions in java?

Read more

by kiran | 01/03/22 | 0 Answers | Tags : Android , Java , PDF , Image , switzerland , swiss-qr-bill , qr-rechnung , qr-facture , qr-fattura Views : 616
how to generate a Swiss QR Bill code with Android ?

Read more

by steave ray | 15/09/21 | 0 Answers | Tags : Android , Java , String , integer Views : 623
how to Convert String to Integer in Android ?

Read more

by Connor | 15/09/21 | 1 Answers | Tags : Android , array , Java Views : 717
I am new to java and android, want to initialize the new array and use it to store strings, so can someone help me to understand how to set Array in Android or java?

Read more

by Evalyn | 05/08/21 | 2 Answers | Tags : PHP , python , Java Views : 529
What is reverse string ?

Read more

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

Read more

by pratik | 21/02/17 | 2 Answers | Tags : Java , JDBC , Error Views : 1737
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 sandee | 09/02/17 | 1 Answers | Tags : Java , how-it-work , how-to-use , swing Views : 2141
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 : 1833
how to use Youtube api in java

Read more

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

Read more

by debugger | 27/01/17 | 2 Answers | Tags : Eclipse , Java , jar , NetBeans Views : 2318
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 : 8239
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 : 1782
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 : 1278
Is Java SplittableRandom.split() threadsafe?

Read more

by | 05/01/17 | 1 Answers | Tags : array , Java , type-casting , ArrayList Views : 1087
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 : 1323
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 : 2851
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