32,204 Topics

Member Avatar for
Member Avatar for TransKim

Hi members,I would like to share knowlege in Java with you. I have a problem which i request a solution for. I want to design a GUI in java that displays four roads each having traffic lights and these traffic lights have four colours(green, orange, and Red). So I want …

Member Avatar for masijade
-2
219
Member Avatar for denmarkstan

Please can any body give me tutorial source on java using netbeans. i want to learn java programming with netbean

Member Avatar for masijade
0
69
Member Avatar for eikal

Hi, one of my labs were doing is a data gatherer, the user enters their first middle and last name all at once with a space between each. then enters there birth month day and year all at once with space between each. Then it outputs them in in a …

Member Avatar for privinpt
0
113
Member Avatar for amitbhanot

Hi. I am trying to run an EJB through bea weblogic 8.1 server. I am trying to create a Stateless Session bean. I have created two jars and when I try to do a hot deployment, I get a server error. please see the error description below: [COLOR="Red"]Exception:weblogic.management.ApplicationException: prepare failed …

0
66
Member Avatar for oppie204

I am doing a program for my computer programming class and it starts out as. I use Bluej for programs too import TerminalIO.KeyboardReader; when i compile it, it says package TerminalIo does not exisat. Does anybody know what is wrong with this i need it fixed soon. Below is a …

Member Avatar for pbl
0
743
Member Avatar for avirooge

Hi, everyone. Plz. Answer. this is very urgent Write a Client/Server Program using DatagramPacket and DatagramSocket which finds the square of a number sent by the client. Avinash Rooge

Member Avatar for pbl
0
62
Member Avatar for ZozOQ

I have see other language to work like that! What i mean is there is a class or something inside the code with the copyrights. When the copyrights change to program stop working. I would like to know how i can do that?

Member Avatar for pbl
0
72
Member Avatar for dheepakpm

How to find the wifi network interface name in Java.NetworkInterface class does not specify any method to find this. Thanks

Member Avatar for dheepakpm
0
94
Member Avatar for summey

I am not understanding the question below at all can someone please guide me in the right direction. I do understand what a Boolean is but i am unclear on how to change the code as directed below. Thank you for your time. [CODE] Change the java code below so …

Member Avatar for summey
0
192
Member Avatar for SeanC

Hi all, ive got a bit of an annoying problem regarding JUnit 4.5. I've created a bunch of unit tests which work properly when I right click the class and press 'Test' (in Netbeans). However, when I right click the whole project and press 'Test', i get a ClassNotFoundException. I …

0
116
Member Avatar for kay19

Well, started my new Computer Science class, and already having trouble. Well, firstly I needed JDK, so Installed the JDK-6u23-windowsx64.exe. After that, I needed to install Textpad, which my teacher said all students will use for assignments. Here's the problem, after installing textpad, I had to go - Configure - …

Member Avatar for kay19
0
128
Member Avatar for OjeeTa

Hi 4 all.. i'm new in this fourm,and i need help plllllz to do this program in java,i realy be sooo confused!! i was absent in this lecture for (Arrays),i'm trying 2 do it but still i'm not get tha idea!! pllllllllllllz can eny ony explain 4 me the Q?? …

Member Avatar for Ezzaral
0
377
Member Avatar for sariberri

I don't know why/how to fix this...It's saying i have a NoSuchElement exception on line n=f.nextLine(); [CODE]while(i<listFlights.length){ i++; n=f.nextLine(); d=f.nextLine(); h=f.nextInt(); m=f.nextInt(); Time one=new Time(h, m); listFlights[i]=new Flight(n, d, one); }[/CODE]

Member Avatar for sariberri
0
150
Member Avatar for sciprog1

Hello, The following program has a JButton and a JLabel in a JFrame. I am using Flow Layout. How do I get the JLabel to show directly below the JButton before clicking the JButton and after clicking the JButton? Thank you! [CODE]import java.awt.event.*; import javax.swing.*; import java.awt.*; public class checks …

Member Avatar for sciprog1
0
94
Member Avatar for sciprog1

Hello, I have a program where if I click anywhere in a JFrame, a ball appears(using fillOval).If I happen to click on the ball once it has appeared, how do I make it disappear? Thank you!

Member Avatar for sciprog1
0
130
Member Avatar for blueman:-0

any one can help me to mean how i create a bitmap because the examples in net is very difficult and i can't mean any thing of this (sample examples plz )

Member Avatar for Ezzaral
0
62
Member Avatar for scobi

/*Here is my code as you can see the in front of rice set the four RadioButton in different Location? i have been tired but i can't solve this problem .Help me Please if u can.*/ import java.awt.*; import java.awt.event.*; import javax.swing.*; class Fnf{ static Box createBox(String[] sa) { Box …

Member Avatar for vealparry
0
454
Member Avatar for blah123123

Im trying to make an employee database where the user can add, delete, search for, view all, edit an employee, and quit. After the user clicks the add or delete button, the program is supposed to allow them to input the names and other things nd when they press enter …

0
107
Member Avatar for rohit2
Member Avatar for rohit2
Member Avatar for vealparry
0
88
Member Avatar for Janu Sam

Hi, I am new to Java Swing. I am trying to develop a GUI for my tool, which consist of a JTextPane which is enclosed in a JScrollPane and to meet my requirement I am using a JTabbedPane for holding this textpanes. In the right side of the GUI I …

Member Avatar for vealparry
0
137
Member Avatar for pulsar_sitra

Hello, My final year project is to develop a java application which should get the two java programs as input and tell us if the programs are copied or not. The copiers should not be able to cheat if they just change the variable names. The copiers should not be …

Member Avatar for quuba
0
97
Member Avatar for tyson.crouch

Hi Guys, Please find below a copy of my code for the issue that I'm having. So, before you have a look at the code and inevitably laugh at something silly that I've done (because I have a feeling that it would be), I should explain what my problem is. …

Member Avatar for quuba
0
231
Member Avatar for theurbanist

I'm trying to write a program that switches the "x" and "o" in a String, only using the replace method repeatedly. At the end of the day, the program should turn 'xxxooo' into 'oooxxx'. I understand why this isn't working, but I'm just completely out of ideas as to how …

Member Avatar for rapture
0
166
Member Avatar for newgeekintown

Is there any way to combine two or more .exe files in one .exe files?????? Please help....!

Member Avatar for newgeekintown
0
45
Member Avatar for mbouster

Dear all I need your guidlines with this project because I dodnt done nothin yet an i am terrified to admit that I am going to deliver this on Wednesday and in the midtime I have a final in another course. What I didn till now is the UML for …

Member Avatar for artche20
0
209
Member Avatar for Holmez85

Hi, anyone here who has a sourcecode in Java for a familytree? Im learning java, and whant to study how a familytree program is built. Any tutorial or sourcecode availible? :)

Member Avatar for masijade
0
66
Member Avatar for OcarinaSensei

[url]http://img200.imageshack.us/i/screenshot20110111at115.png/[/url] Thanks in advance fellow geeks!

Member Avatar for masijade
0
572
Member Avatar for bangor_boy

What is a better way to write the code, [CODE] public void showFeelings(int howManyGoals) { switch (howManyGoals) { case 0: System.out.println("Oh dear, not very good"); break; case 1: System.out.println("Oh dear, not very good"); break; case 2: System.out.println("Oh dear, not very good"); break; case 3: System.out.println("Ive seen donkeys shoot better"); break; …

Member Avatar for JKP()
0
183
Member Avatar for Slyvr

I have a program with 2 panels, each with it's own class. LeftPanel and RightPanel. Whenever I click a button that does some calculations (like calculating total assets amount) in one of the panels, it doesn't update that info for the other panel. For example....I have this seperate class that …

Member Avatar for Slyvr
0
111

The End.