32,204 Topics
| |
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 … | |
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 … | |
I want to know how to handle the events in an online webplayer using java swing | |
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; … | |
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. … | |
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 … | |
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 … | |
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 … | |
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? | |
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] | |
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 … | |
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 … | |
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 … | |
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 … | |
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() ); … | |
hai friends i want a project title in j2ee to do my project plz help me :sad: | |
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 … | |
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 … | |
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 … | |
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. | |
Is it possible to output a variable and/or a string to a text file? | |
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 … | |
[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 … | |
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 :-/ | |
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? | |
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 … | |
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 … | |
Is it possible to have AVI's play in Java Applets at specific times, eg: when a button is pushed? | |
Hi there I need help!!!! How do you read and write from an .ini file by using java sockets???? |
The End.