- Upvotes Received
- 7
- Posts with Upvotes
- 5
- Upvoting Members
- 4
- Downvotes Received
- 5
- Posts with Downvotes
- 3
- Downvoting Members
- 2
13 Posted Topics
Hi everyone, I am trying to make a user login page. The user is required to fill username and password in textFields and when he clicks the Submit button, all details are needed to be written in the database. import javax.swing.*; import java.sql.*; import java.awt.*; import java.awt.event.*; public class register …
thanx Macebooks.. I was here for the same problem and solved it. Thanks a lottttt.:)
Hi everyone, I have made a desktop application in NetBeans IDE 7.3. In the dist folder ,there is my project's executable jar file. But by double clicking it is not opening. Can anybody make suggestions about it, Thanks in advance
I found Dani website when I was searching something on Google and was stuck by Java problem. I got my solution here and now I like to solve other's problem related to Java. This increases my coding skills. :)
Hello everyone, I am trying to make a chat application. For this i have made two programs-SERVER and CLIENT. But these are connecting. import java.io.*; import java.net.*; public class SimpleServer { public static void main(String args[]) { ServerSocket s=null; try { s=new ServerSocket (6666); } catch(IOException e) { e.printStackTrace(); } …
perhaps you have not even bother to read **member rules** . first show us the code that you have tried so far and what errors are you getting. only then we can help you.
perhaps you are new to java because you don't even know how to use **for** loop : The correct syntax is: for (initialization; termination; increment) { statement(s) } By changing the syntax your code is working correctly. class JavaApplication2 { public static void main(String[] args) { for (int i =5; …
Can any one please tell me how to connect a simple java web application to Oracle10g Express edition? Which driver should I use? Thanks in advance.
hello everyone.. I am trying to connect a simple application to Oracle XE database. But when I run this program , the else part of program is running. Can Anyone tell whether I hav ewritten the code correct or not. import java.sql.*; public class jbc { public static void main(String …
you can try this code. Here I have used the file newfile.txt which is stored in the following location C:\\Documents and Settings\\Administrator\\WebApplication4\\web\\WEBINF\\data\\newfile.txt So don't get confuse with this. /* * writedata.java * / import java.io.*; import java.net.*; import javax.servlet.*; import javax.servlet.http.*; public class writedata extends HttpServlet { protected void processRequest(HttpServletRequest …
In your code there are two blunder mistakes. 1) you can not use InputStreamReader(System.in) directly as a parameter of BufferedReader class. 2) Although i have made corrections in your code but even then it is running for infinite Here is the modified lines of code : import java.io.*; class pattern …
This error is may be due to that you have not declared the "slate" variable in your code.
First of all I want to correct your code. You have used this > import java.awt.; import java.applet.; " Correct it by by using asterisk to import all the classes of awt and applet package i.e import java.awt.*; import java.applet.*; And it is an applet thats why it doesnt have …
The End.
adikimicky