32,204 Topics

Member Avatar for
Member Avatar for P00dle

I've made a gui that has a couple of panes on a frame. Initially only one frame is visible, but as you fill in options and press buttons, the others become visible. The problem I have is that the first pane should be in the top left corner when the …

Member Avatar for P00dle
0
100
Member Avatar for baudday

Hi, I'm fairly new to java, but feel as though I understand the concepts fairly well. I have a server at home that I would like for several computers to be able to back up to. With the help of NetBeans, I would like to do this without simply downloading …

Member Avatar for baudday
0
1K
Member Avatar for subhankar02dey

I want to know how to handle the events in an online webplayer using java swing

0
64
Member Avatar for mohannad2004

Hi Im trying to write a program that take list of numbers from TXT file then save them into array then convert them into integers and do a binary search on them here is what i tried to do [CODE] import java.util.ArrayList; import java.util.Collections; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; …

Member Avatar for mohannad2004
0
98
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
68
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
142
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
109
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
139
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
74
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
116
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
58
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
240
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
74
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
111
Member Avatar for sree22_happy
Member Avatar for peter_budo
0
174
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
141
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
145
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
68
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
89
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
113
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
151
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
118
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
129
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
134
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
82
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
76

The End.