36,051 Topics

Member Avatar for
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
100
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
90
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
39
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
110
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
107
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
115
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
716
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
58
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
57
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
96
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
106
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
67
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
44
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
Member Avatar for red999

Does anyone know of a good beginner java book that is the most up to date? Head First Java 2nd ed. seems kind of outdated when I looked at the date.

Member Avatar for red999
0
84
Member Avatar for denni2727

I'm developing an application which uses a Timer so that the JButtons that the application has, blink each half a second, And the problem is that it works properly until I make some JButtons fire events. When this happens the timer speeds up, but its delay is the same. I …

0
92
Member Avatar for Ashwin Vasnai

Plz help. I am working to create application kind of auto-suggestion. I am using JTextPane along with Jlist on PopupMenu. I am not able to get the Action Event on JList. and other problem is that my KeyPress Event of JTextPane are getting overlapped with JList hence nothing is selected …

Member Avatar for Ashwin Vasnai
0
168
Member Avatar for melancholic
Member Avatar for wondergal04

cn u plz tel me the java code.. to display image as soon as it is selected...?? please... :pretty:

Member Avatar for wondergal04
-2
120
Member Avatar for shack99

Hi, Could someone please help me, I'm a bit stuck and don't know where to start. I want to create a program where I have to use multiple arrays eg: processing the data of a file, the file contains details of several groups of students(group 1,2 3,...) and each group …

Member Avatar for shack99
0
218
Member Avatar for ashaysumbha

Respected Sir, I am trying to execute above code with rerquest response object. In my jsp file i have 3 text boxes 1.mobile 2.username 3.password , All the above three attributes are stored in MySql table emp. I want to execute this code in a fashion like when i entered …

Member Avatar for javaAddict
0
93
Member Avatar for Stefano Mtangoo

Please help me to expound how to do layout management. You may choose any layout manager and expound it. I'm doing self teaching most of the time and it is not fun! Please help me ho to arrange. Also which layout is mostly used

Member Avatar for peter_budo
0
339
Member Avatar for EdwardS

Hey everyone, A root-to-leaf path in a tree is defined to be a sequence of nodes starting from the root node and proceeding downwards to a leaf.Required that given a tree, output the tree after reversing all root-to-leaf paths. For the following tree: root = 5 root.right = 8, root.left …

0
36
Member Avatar for dave_nithis

Hi all, I got a new Java puzzle in which I have to find the largest of given numbers without using If loop,for loop or while loop..And you should not use any max() or min() functions. Can anyone help me out in this?I want to know whether it is possible …

Member Avatar for Rizwana begum
0
277
Member Avatar for verruckt24

Hi, Can anybody point me out to good resources on "automating form filing and submission through Java App". The various types of forms are as given below: 1. Standard form with Form_Name, text boxes and submit button 2. Standard form with Form_Name, text boxes and submit image or JS based …

0
70
Member Avatar for Teethous

Hello. I am writing an ATM program for a project, but I am having problems matching the users entered pin with what is stored on the text file. Here is how i read the file [CODE]import java.io.File; import java.util.Scanner; import machine.*; import javax.swing.JOptionPane; public class FileRead { Transactions query = …

Member Avatar for Teethous
0
154
Member Avatar for SoulMazer

So...I have just begun to whet my appetite for Java today, and I have already run into a stumbling block. When I put my code in a .java file and compile it (via javac), I receive no errors. However, when I actually run my script, I receive quite the nasty …

Member Avatar for peter_budo
0
207
Member Avatar for startstop123

As you know there exists Mobile Banking for all Banking Domains. Everyone can do their banking from their Mobile devices. So I like to create a Desktop Application for banking on Windows. Users can do their banking like making and viewing transactions, credit card information, Saving accounts, current accounts, demat …

Member Avatar for startstop123
0
266
Member Avatar for davewhite

merry Christmas! [CODE]import java.io.*; public class NickelDollar { public static void main(String[] args){ BufferedReader BR = new BufferedReader(new InputStreamReader(System.in)); String num = ""; System.out.println("How much Nickel do you have?" ); System.out.println("How much Pennies do you have?" ); try { num = BR.readLinne(); int nickel = Interger.parseInt(num); num = BR.readLinne(); int …

Member Avatar for nomemory
0
106
Member Avatar for JAbeer

[code]import javax.swing.*; import java.awt.*; import java.awt.event.*; public class cal extends JFrame implements ActionListener { JMenuBar mb; JMenu file, help; JMenuItem esc, about; JButton btn[]; JLabel lab1 = new JLabel("0"); JPanel pan1; int i; final int MAX_INPUT_LENGTH = 20; final int INPUT_MODE = 0; final int RESULT_MODE = 1; final int …

Member Avatar for gunjannigam
0
77
Member Avatar for 4me@u

Hi can some body help me out with this, i was trying to display a directory list from a folder toa jlist using the following code [code]String st; while( (st.length)!=-1) { fileName=in.readUTF(); String data[] = {fileName}; jList1=new JList(data); }[/code] but it only displays one file, how could i correct this …

0
47
Member Avatar for SmashM

Hi, I just finished learning basic OO concepts and java programming. I know some HTML and have made very basic webpages. I'd like to tackle something like Ruby then ruby on rails. I've also taken a class in databases and mySQL. Do you think it's ok for my level to …

Member Avatar for stephen84s
0
113
Member Avatar for floresj4

Hi all, I've registered a host name that I have been port forwarding to IIS for html/php pages. I recently setup up some connectors for Tomcat 6 and IIS, but that's not going so well. I can only view a set of sample pages that came with Tomcat and none …

Member Avatar for stephen84s
0
116
Member Avatar for adi00

i want to made a online test series program in jsp using beans, so plz help me , i want structure and database of program .

Member Avatar for peter_budo
0
116
Member Avatar for Corrderio

So I've recently been learning java and have been using [url]www.javacoffeebreak.com[/url] for my first tutorial, anyway everything's been going smoothly til I get to here: [url]http://javacoffeebreak.com/java102/java102.html[/url] The code that's giving me that error is the following: [code] public class Account { protected double balance; // Constructor to initialize balance public …

Member Avatar for Corrderio
0
153
Member Avatar for Korhan

hello guys, I have to implement a classic snake game with java in 3 days but I couldn't figure out how to code yet. If you have a source code or a useful tutorial for the snake game please let me know. My program will be a little different from …

-1
41
Member Avatar for javaman2

hi everyone, i need help with a project that i am doing. i need to use inheritance and arrays to make a poker game, making a card class and a poker class that extends the card class in the card class i would need to use arrays to make a …

Member Avatar for JugglerDrummer
0
1K
Member Avatar for vgkarthi

Hi all, Kindly let me know the solution for the below query [code]<fmt:message bundle='${config}' key='singlelevelauth' /> [/code] the above line prints a value in the page but i need that value to be set using <core:set> tag and i used the following.. [code]<core:set var="corpID" value=<fmt:message bundle='${config}' key='singlelevelauth' /> ></core:set>[/code] i …

0
69
Member Avatar for kaka@sam

Hey, I am new to this forum. I wanted some help . I was planning to do a project in remote OS detection . what would be the best way forward. the language to be used( i was thinking of java). basically how to start :)... thanks..

0
150
Member Avatar for didi00

Hi everyone. So I get the code going now the question is: How to make a menu in Java code? For example: 1.create table 2.insert into table 3.select fro table 4.delete table... Which will you choose: ex.1 and creates table I mean like switch case in C++ [code] import java.sql.*; …

Member Avatar for didi00
0
189
Member Avatar for mellowmike

So I have a client/server application and I'm trying to send an ArrayList of objects to the server. I kept getting errors sending the ArrayList of objects, so I just decided to send an empty ArrayList to see if anything was wrong, and it turns out, that the server can't …

Member Avatar for mellowmike
0
471
Member Avatar for Broker

Hey everyone, this is my first of what I plan on being many posts. I am just getting into java, this is my first programming language. I am trying to learn how to use the java.awt. package to do graphics, can anyone point me in the right way to learn …

Member Avatar for Ezzaral
0
44
Member Avatar for shlesha

i have no idea about how to create a forum in jsp please give me suggestion and code to create a discussion forum

Member Avatar for macalalad03
0
95
Member Avatar for HakkaBukka

hi, I am interested in java based software/applications that can support complex financial calulations such as set processing, iterations and looping function. The objective is to use it while defining insurance calculation which can be complex by itself. The application should have built in set processing calculations. Can anyone help …

Member Avatar for cam875
0
95
Member Avatar for TheManual

I have managed to change an input String expression with parentheses to a postfix expression. I want to print to print the values in the stack but can't work it out. Can anyone tell me how I do this? [code] class Converter{ private Stack converterStack; private String input; private String …

0
64

The End.