35,618 Topics

Member Avatar for
Member Avatar for beforetheyknew

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 …

Member Avatar for Phaelax
0
118
Member Avatar for dileep_u

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)

Member Avatar for peter_budo
0
37
Member Avatar for scarface9477

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 …

Member Avatar for scarface9477
0
2K
Member Avatar for k2k

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] …

Member Avatar for javaAddict
0
127
Member Avatar for chicago1985

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>(); …

Member Avatar for javaAddict
0
83
Member Avatar for redZERO

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 …

Member Avatar for javalearn
0
585
Member Avatar for screenedcreamy

Any good suggestions for creating a JSP that reads several initialization parameters and outputs them to a Web page.

Member Avatar for peter_budo
0
97
Member Avatar for sravan953

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]

Member Avatar for smartbloggerz
0
251
Member Avatar for jorgelex008

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): …

Member Avatar for JamesCherrill
0
227
Member Avatar for P00dle

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: …

Member Avatar for P00dle
0
114
Member Avatar for psaneem

Hie ....i am doing my final year project im trying to deploy mobile agents in network monitoring any pointers on where i could start??

Member Avatar for peter_budo
0
28
Member Avatar for jorgelex008

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) …

Member Avatar for MxDev
0
304
Member Avatar for winn_man

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 …

Member Avatar for winn_man
0
99
Member Avatar for synplace

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 …

Member Avatar for darsiguruprasad
0
88
Member Avatar for darsiguruprasad

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

0
38
Member Avatar for pvn777

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

Member Avatar for peter_budo
0
109
Member Avatar for saikatroy1985

How to select multiple location under one central location in jsp and should be stored in oracle?

Member Avatar for saikatroy1985
0
91
Member Avatar for jrosh

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. …

Member Avatar for jrosh
0
106
Member Avatar for Acegikmo

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 …

Member Avatar for MxDev
0
117
Member Avatar for rpraveenr

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 …

Member Avatar for MxDev
0
113
Member Avatar for PieMan2004

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 …

Member Avatar for it-student
0
713
Member Avatar for Xessa

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?

0
56
Member Avatar for pandeyprashant

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.

0
56
Member Avatar for adistance

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 …

Member Avatar for peter_budo
0
95
Member Avatar for pritam_1181988

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 $ $ $ $ $ $ $ $ $ $ $ …

Member Avatar for peter_budo
0
123
Member Avatar for P00dle

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 …

Member Avatar for P00dle
0
105
Member Avatar for kkk_f17

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> …

0
66
Member Avatar for myqro

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

Member Avatar for myqro
0
138
Member Avatar for melancholic
Member Avatar for BestJewSinceJC
0
43
Member Avatar for Stefano Mtangoo

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

Member Avatar for kingsboro2008
2
193

The End.