35,618 Topics
![]() | |
Hi guys, I'm still quite new to programming and have an exam soon where we have to hand-write programs(no IDE). Never done this before, just you guys all give fantastic guidance, i wanted to see what you all thought. Any general advice would be appreciated! Theres some small things im … | |
Hi, when i click the save button in it should redirect to other page and should show sucess message on that page like(the record was saved sucessfuly) | |
I am starting out in programming and have little knowledge of Java. I use linux and after a while got sick of using gedit and javac to learn. So I now use eclipse. I am trying to get input from a text file and when I write the code I … | |
hi, please assume it is already connected to the access database( it is connected) since i could get all the data out and put them onto a JTable. What is wrong now ... is that i am trying to insert new data to the access db and i got [code] … | |
I am getting closed exception messages with my below jdbc connection to Oracle 9i from Tomcat 6 container. The database connection is used about once or twice a day. [b]java.sql.SQLException: Closed Statement[/b] and [b]java.sql.SQLException: Closed Statement: next[/b] [code] private Connection connection; public ArrayList<MoneyBean> getMoneyList() { ArrayList<MoneyBean> list = new ArrayList<MoneyBean>(); … | |
Hi guys I am trying to build a program which scans data from a text file, but I keep getting an error when trying to compile it. The code [CODE] import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.Scanner; import java.io.*; class anything extends JFrame { public anything() { File stuff … | |
Any good suggestions for creating a JSP that reads several initialization parameters and outputs them to a Web page. | |
![]() | A java program which accepts a string from a user, and gives various options to change it case. Options include: [LIST=1] [*]UPPER CASE [*]lower case [*]Sentence case [*]Title Case [*]tOGGLE cASE [/LIST] |
Hi all, I'm new to Java. *question:* Can this be done in Java as a desktop application? * * * * * * Among other projects I've been thinking is a Software Robot... kind of a super macro that goes across multiple programs. For example (it could be anything really): … | |
Ok, so I have this XML file that I'm reading: [CODE]<?xml version="1.0"?> <APOLLERSETTINGS> <SYSTEM> <VERSION>3.1</VERSION> <SMTPSRV>blue</SMTPSRV> <SMTPPORT>29</SMTPPORT> <SMTPUSR>Me</SMTPUSR> <SMTPPSW>Password</SMTPPSW> <EMAILFROM>lodewyk.duminy@gmail.com</EMAILFROM> <EMAILTO>lodewyk.duminy@gmail.com</EMAILTO> <ALTEMAILTO>lodewyk.duminy@gmail.com</ALTEMAILTO> </SYSTEM> <JOB> <JOBNAME>The Name</JOBNAME> <INPUTFOLDER>C:\</INPUTFOLDER> <FILEMASK>*.txt</FILEMASK> <PROCESSORDER></PROCESSORDER> <RETAINFOLDER>C:\</RETAINFOLDER> <OVERRIDEFOLDER>C:\</OVERRIDEFOLDER> <ERRORFOLDER>C:\</ERRORFOLDER> <POLLINTERVAL>6000</POLLINTERVAL> <JOBBATCHFILEPATH>C:\</JOBBATCHFILEPATH> <JOBBATCHPARAMS>three</JOBBATCHPARAMS> <JOBLOGPATH>C:\</JOBLOGPATH> <JOBEMAILTO>lodewyk.duminy@gmail.com</JOBEMAILTO> <JOBALTEMAILTO>lodewyk.duminy@gmail.com</JOBALTEMAILTO> </JOB> </APOLLERSETTINGS> [/CODE] This is the code that is reading the file: … | |
Hie ....i am doing my final year project im trying to deploy mobile agents in network monitoring any pointers on where i could start?? | |
Hi all, I'm new to Java (after years of Visual Basic and VBA). So right now I'm going through a very steep learning curve. I'm trying to figure out (while I bang my head on the keyboard) how to do the following in SWING: - Show mouse coordinates (x, y) … | |
Hey guys, I have been trying to write a basic program that will send and receive MIDI. I have successfully managed to send a MIDI message, but am unable to come up with the code that will receive a MIDI signal from an external source and simply display the information … | |
Hello All, I have developed a small rmi application. It works fine in my local area network. Now, I want to deploy it in a server and access it through internet. How can I do this? In which Server (Web Server or Application Server) I have to deploy it? And … | |
i want devlop a search engine project in my webportal using java with mysql database.my question is enter two fields in one textbox .after we press search button it will take values from database and display. exampl)doctorname,area | |
I dont want to use resultset object in JSP page. Rather I want to use a java class for retrieving values in to the JSP page. Either using array list or something like that., I tried many times but failed Please advise in detail. Thanks | |
How to select multiple location under one central location in jsp and should be stored in oracle? | |
I use wamp as my server. I used mysql-connector-java-5.1.5-bin.jar It worked ok/ But I set up same in another computer it gives an error saying ([I]In Jcreator[/I]) [B]Error: Error reading C:/Program Files/java.../ mysql-connector-java-5.1.5-bin.jar ; Error in opening zip file[/B] What is this error & what can I do? Plz help. … | |
Hello! I am currently working on a project with a few others. Everything has went on smoothly until now. When I run the project in NetBeans, everything is working as intended. All images show up like they should. If I start the jar file with the console commands (java -jar … | |
I am making my project using netbeans 6.5. I want to open different frames in the same parent frame, But I am unable to do so. For e.g. my first frame is a login page. After Logging in the 2nd frame is displayed. But I want to display the 2nd … | |
Hi, ive been looking for a solid java community to help me when im tearing out my hair :) Basically ive constructed a GUI that has to represent the same look and functions of the typical windows calculator. Ive made 4 classes 2 do this, my reasoning so it was … | |
Hi. I want to print out Turkish characters on my report and i can't at the moment. I select PDF encoding as CP1254(Turkish) and i still can't write ğ or ş. How can I solve this problem? | |
Hello Everyone, i am new to websphere and i m trying to install websphere and its pluging to eclipse. i searched a lot but i didnt get the result. please tell me how to configure WASCE plugin with eclipse? thanking you. | |
How to implement the mouseRelesed(MouseEvent me) and mouseClicked(MouseEvent me) methods when the mouse button is clicked and the mouseReleased method do nothing. [code]import java.applet.Applet; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; public class Example extends Applet implements MouseListener { public void init() { addMouseListener(this); } public void mousePressed(MouseEvent me) { } public void … | |
Q.28. Write a program to produce the following form. 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 $ $ $ $ $ $ $ $ $ $ $ … | |
Hi everyone. I need help. I'm supposed to have my program edit an XML field. The user has the option to change the values in certain nodes. After the node values have been filled in, and a certain button has been clicked, the program should write the changes to the … | |
while i'm running the below code, I'm getting : "There are several Java methods that match equally well". Can any one solve this problem. Please i need u r help. Thanks in Advance My XML:-- [code] <?xml version="1.0" encoding="UTF-8"?> <article1> <title>kiran Java May Be a Fad</title> <author>J. Burke</author> <startdate>25/12/2009</startdate> <enddate>30/10/2010</enddate> … | |
I am new to java programming and i have been struggling to connect my Jtextfields to my java database. I have been working with Delphi previously and was wondering how i can connect the GUI fields in my form to an already existing database using jdbc. Any help appreciated. Thanks | |
| |
I have asked the same Question on C++. So far I have moderately mastered PHP a little and more of Python. I want now to add up Java/C++ So what I need to know to be Java expert in Web and Desktop Applications? Are they two different beasts? Thanks Guys |
The End.