35,618 Topics

Member Avatar for
Member Avatar for Puzzledbuthappy

Hi! I have a project to cpomplete and am desperate for some help. i've been trying to get my head round it for days, but it a non event..>I would seriously appreciate if anyone could look at this for me...? Instances of the Dice class model a single playing dice. …

Member Avatar for Puzzledbuthappy
0
71
Member Avatar for Stefano Mtangoo

Where is best JSP tutoriall, at least best for you? I will appreciate also downloadable for offline use. I'm extremely noob to JSP but I know some java

Member Avatar for peter_budo
0
120
Member Avatar for Stefano Mtangoo

Hi all, I Just connected to internet booting from my USB external HDD which have Mandriva 2010 installed. I need to set it up for may Regular programming. So help me to Install JDK and Eclipse. I'm right now checking Sun.com but I know there are Java people using Linux …

Member Avatar for Stefano Mtangoo
0
144
Member Avatar for Fedhell

Hello all, I am currently studying for my DataStructures final examination and there is one thing that i just can never grasb. I cant seem to be able to recursivly define abstract data structures such as linked bags, lists, sets, stacks, queues, deques, ect... I can never seem to figure …

Member Avatar for BestJewSinceJC
0
111
Member Avatar for LKH

my computer os is window vista, i create a java program using the notepad but i can't compile file and run the program output in command prompt. when i compile the file: javac welcome.java 'javac' is not recognized as an internal or external command, operable program or batch file. it …

Member Avatar for BestJewSinceJC
0
119
Member Avatar for jerseycoaster

I have a slew of Java updates on my old Dell laptop, that take up over 1 GB of disk space. Do I need to keep them all? Can I remove the older ones without loss of performance?

Member Avatar for BestJewSinceJC
0
141
Member Avatar for so-so

What is the problem here please :'( [code]import java.math.*; import javax.swing.*; public class Q5 { public static void main(String []args) { double n; String Output=""; int t=0; int supervisingyears=0; for(t=0;t<=25;t++) { n=220/(1+10 * math.pow(0.83,t)); if (n<80) supervisingyears++; output=output+"\n Number of Supervising Years"+supervisingyears+"\n"; JOptionPane.showMessageDialog(null,output); } } }[/code]

Member Avatar for peter_budo
0
76
Member Avatar for shack99

Hey, I’m really new to java..so I'm really not sure what some of the errors mean , when I run this program it reads data from the file and all but I can’t get it store new data in a new file, the file “exo” does get created though. Here’s …

Member Avatar for shack99
0
118
Member Avatar for kdkanishka

I want to write a Java Applet which interacts with some HTML elements in the same page. for eg : changing text in a HTML textfield I know how to do this using JavaScript using [COLOR="Green"]getElementById()[/COLOR] function. I think Java Applets also provide such method. If you are aware with …

0
59
Member Avatar for HazardTW

I do contract work for a small Wireless ISP in my rural area and am creating a desktop app to keep track of jobs and scheduling. The main part of my app visually is a calendar and in each visible day there will be lists as containers for jobs belonging …

Member Avatar for HazardTW
0
242
Member Avatar for kiranpvsr

Hello everyone, Can anyone tell me how to create the hierarchial structure of replies to a particular message using Java. In most of the Internet Forums, you will find that when you click on a message, the replies to it will be shown in a hierarchial manner based on the …

Member Avatar for kiranpvsr
0
76
Member Avatar for Ashwin Vasnai
Member Avatar for onsir

while i click date i want to get that date. i have used this method but i can't to get data is clicked i used JCalendar [code] public Employee() { super("", true, true, true, true); setSize(50, 50); initComponents(); jdcDateBirth.addMouseListener(new MouseListener(){ public void actionPerformed(ActionEvent e){ System.out.println("is birth " + jdcDateBirth.getDate() ); …

Member Avatar for peter_budo
0
113
Member Avatar for sree22_happy
Member Avatar for peter_budo
0
177
Member Avatar for sambafriends

import java.io.*; package world; public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World"); } } istored this java file in world folder; and i set the class path as F:> set classpath = .;f:\; because my world folder in that drive but when i am compiling it …

Member Avatar for JamesCherrill
0
143
Member Avatar for Iz3k34l

I am new to java and trying to figure this out, the error im getting is; week1SR4Frame.java:28: week1SR4Frame is not abstract and does not override abstract method windowDeactivated(java.awt.event.WindowEvent) in java.awt.event.WindowListener public class week1SR4Frame extends JFrame implements WindowListener, ActionListener I am trying to "endButton.addActionListener(this);" i have added the above code also …

Member Avatar for Phaelax
0
147
Member Avatar for BobBrown

I am needing to make a program add and multiple from two different entries and display the total on a different line. I am needing the syntax on how to add and multiply. A web reference page would be good as well. All I have is two classes at this …

Member Avatar for BobBrown
0
69
Member Avatar for m-e-g-a-z

Hi..im creating a mastermind AI where the computer is very smart and could do with some advise on how to code this in java i.e using arrays and linked lists....i am also new to AI and could do with some advice.

Member Avatar for adams161
0
92
Member Avatar for JasonDoyle
Member Avatar for gods_angel

ok so here are the instructions for this project: Write a KochCurve program that uses DrawingTool and provides a drawKochCurve method for drawing Koch curves. Each drawKochCurve method can take the number of levels and an initial size as its parameters. Sample usage of the method to draw a 6 …

Member Avatar for persianprez
0
115
Member Avatar for aleite

[code=java] Hello! I'm learning a little bit how to programme in java and I have a work to do. I have to read a file with a lot of lines where each line has 3 numbers: 2 doubles and 1 int (4.5 3.5 7). I'm trying to do like this …

Member Avatar for gunjannigam
0
110
Member Avatar for Stefano Mtangoo

I love to learn the hard way i.e with real world examples. I thought to make MP3 Player, but I changed mind and now I want to make small SQLIte driven app. How do you manipulate SQLite with Java? I'm googling to see if I will catch noobish things :-/

Member Avatar for Ezzaral
0
153
Member Avatar for Son of a gun

Is it possible to simply check a java String argument is present and return a boolean true or return false if the argument is of a Null value?

Member Avatar for Son of a gun
0
121
Member Avatar for nikhil.laghave

Hello, I am trying to make a forum website using struts and hibernate. I am totally new to struts, hibernate and jsp, so am not familiar with how the flow should be. So, I have a homepage which will give me a link to the forum page. On this forum …

Member Avatar for Reventon
0
63
Member Avatar for prasannakarthik

Hi, Im passing a attribute from jsp1 using Ajax code as shown below. [CODE]this.xmlHttpReq.send(attrName);[/CODE] I need to fetch the value in the jsp2, manipulate and return the value to the calling jsp(jsp1). How to achieve this functionality... Any help would be grateful!!!! Thanks! lpk

0
43
Member Avatar for lovesjavamuch

hi! i now implementing laptop playing guitar where my touchpad is to do strumming and keyboard keys is to change chords. when i pressed a key and moving the mouse cursor i can do the strumming, now my problem is when i released the key i still can do the …

Member Avatar for JasonDoyle
0
130
Member Avatar for anevins

I'm starting a main class but when i refer the name back to my other java class, it cannot find the constructor when it is clearly there, in the right file directory. I'll give you the code from my constructor and the code i'm using in the main class. Constructor …

Member Avatar for anevins
0
136
Member Avatar for JasonDoyle

Is it possible to have AVI's play in Java Applets at specific times, eg: when a button is pushed?

Member Avatar for JasonDoyle
0
85
Member Avatar for Camzie

Hi there I need help!!!! How do you read and write from an .ini file by using java sockets????

Member Avatar for Camzie
0
77
Member Avatar for Clawsy

Hello, In my application I transfer a lot of images from server to client. The problem is the size of the image, so I tried to encode it using [URL="http://objectplanet.com/pngencoder/"]this encoder[/URL] - objectplanet png encoder. The problem is nothing seems to happen, image size is the same. [CODE] //img is …

Member Avatar for Clawsy
0
227

The End.