32,204 Topics

Member Avatar for
Member Avatar for letlet_pogs

hello guy,,can you really help me understand more about "stack" in java?? i am still confused about stack.push or stack.pop.....can you help me understand it more??..thank you again...

Member Avatar for letlet_pogs
0
343
Member Avatar for ezkonekgal

hello, it's me again. As you have noticed, i am working on an assignment that my teacher gave me. It's 20% of my midterm exam. I posted the threads "Need urgent help! please", "I need help with my program", and the "Help with my main method." I am having problems …

Member Avatar for fireheart1024
0
156
Member Avatar for abhi_elementx

Hello folks, I have a Netbeans desktop application with a frame. I have a menu called SALES. Under that i have a menu-item "Import". I have added a mouseclicked event where i call a function. When i click on Import, nothing happens... Plz help. Thanks

Member Avatar for fireheart1024
0
119
Member Avatar for prateeknigamk

please tell me under what condition we should we use abstract classes and main difference between interface and abstract classes

Member Avatar for fireheart1024
0
92
Member Avatar for ezkonekgal

[code=JAVA] import java.io.*; import java.util.*; import javax.swing.*; public class Calculator { private static Stack operators = new Stack(); private static Stack operands = new Stack(); public static void main(String args[]) throws IOException { JOptionPane.showMessageDialog(null, "Hello user! I hope you have a great time using this. = ]", "Welcome", JOptionPane.PLAIN_MESSAGE); JOptionPane.showMessageDialog(null, …

Member Avatar for ezkonekgal
0
113
Member Avatar for nitric0

hey guys new here and i'm also new to JAVA. i'm taking a class and am kind of stumped in my first assignment i basically have to write a program that will give the total due a user using an internet cafe. each full hour = $5.00 each m inute …

Member Avatar for VernonDozier
0
87
Member Avatar for BlackPearl

I have been assigned ot developa simple Java paint program whis allows the user to: 1.Create simple shapes on many layers 2.Draw line 3.Fill the selected shapes and lines (using color chooser) 3.Copy and paster the selected shape 4.write selected sahpe to a file and load the file to the …

Member Avatar for akhilagarwal87
0
210
Member Avatar for llemes4011

Hi, I need to create a huge array of (up to 160,000) points on a grid ex. (4, 23). First of all, I have no idea how to create an array, I looked on the Java API, but I was helplessly and hopelessly confused. And after a create the array, …

Member Avatar for Alex Edwards
0
86
Member Avatar for guerreronoli

Any body can help me with this problem!.... I want my program to communicate to Windows Registry!.... anybody know?

Member Avatar for Phaelax
0
41
Member Avatar for Phaelax

I need to create table with expandable rows. Each row in the table can be expanded to display a secondary row. While I have managed this in the past for other projects, this problem is slightly unique. For the rows that are always visible, I want them to be only …

Member Avatar for Phaelax
0
121
Member Avatar for avsparmar

I want to build a web chat application for mobile and i build it in the same manner as it build for desktop browser but that is not supported by mobile browser. Please java developer let me know how to build front end pages that will be compatible with mobile …

Member Avatar for peter_budo
0
89
Member Avatar for prateeknigamk

why it is use full to resolve overridden method at runtime rather than compile time

0
73
Member Avatar for ezkonekgal

This is a code converting infix expressions to postfix expression and evaluates it. there is a problem, when i run it in ECLIPSE, it it displays this errors: Exception in thread "main" java.lang.NumberFormatException: For input string: "4+4" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:456) at java.lang.Integer.parseInt(Integer.java:497) at Postfix.toPostfix(Postfix.java:39) at Postfix.main(Postfix.java:21) Can anybody help …

Member Avatar for ezkonekgal
0
218
Member Avatar for ezkonekgal

[code] import java.io.*; import java.util.*; public class InfixToPostixEvaluate { private static final String operators = "-+/*"; private static final String operands = "0123456789"; private static int getPrecedence(char operator) { int ret = 0; if (operator == '-' || operator == '+') { ret = 1; } else if (operator == …

Member Avatar for ezkonekgal
0
126
Member Avatar for Koldsoul

I am having an issue with a subclass. When I put in the code [code]package Ch1Pkg; public class RoundBaseContainer extends BaseContainer{ [/code] to implement the superclass of BaseContainer, I am getting an error that says cannot find symbol Symbol: constructor BaseContainer() location: class Ch1Pkg.BaseContainer I have the files in the …

Member Avatar for Koldsoul
0
92
Member Avatar for wrappingduke

Hello, Attempting to run java app from zip file rather than jar but having some difficulty. I have placed all the classes for the app in the zip. The files not are compressed. Here's a sample of the code: [CODE] 'the following tries to run Main.class. Also, tried calling app …

Member Avatar for wrappingduke
0
73
Member Avatar for santosh jujgar

Hi friends , after a long time , I am here to share my ideas with u . I m a final year engg. student of IT stream. Right now I am doing project on Java & .net i.e.on both platforms. I just want to know that whether anyone has …

0
22
Member Avatar for leverin4

This is a VERY basic program to calculate the area of a circle, triangle, or quadrilateral. The interface we run the program on is STOP, so we can only use numbers to run the program once it is compiled. This is the reason there aren't any strings or anything like …

Member Avatar for stultuske
0
82
Member Avatar for Kelly4270

I have a background that has the hover capability, but I want to get rid of the hover and make it one color. I know a little bit about this, but not enough to fool around with it too much. Can anyone help me? Thanks!

Member Avatar for Phaelax
0
79
Member Avatar for EDDYGATE

I have written a browser in java but it is only able to display saved web pages on my computer or html files created by me. It is not able to display a page when i type any URL in the address bar. Please help me Here is the code …

Member Avatar for Phaelax
0
97
Member Avatar for sInFuL69er

Hi everyone, I got a small problem with my JList with MULTIPLE INTERVAL SELECTION. When i click on a item it adds the price to the total and when i ctrl+click another item it again adds the price to the total Then problem is when i deselect one of the …

Member Avatar for Phaelax
0
139
Member Avatar for zwench

This is what it is supposed to do. If this helps. This file should read the records from the Graduate file first, in sequential order as the “View Student” button is pressed. When the program reaches the end of the Graduate Students records, it should modify the JFrame to display …

Member Avatar for zwench
0
173
Member Avatar for Gaffer

Hi all, I'm very new in this area and I'm looking for some help. What I eventually want to do is upload a file from my java application to a server, for the moment I've installed Apache on my local machine for development/testing. The way I see this working (please …

Member Avatar for stephen84s
0
75
Member Avatar for daniel50096230

Hi,I had created a Combobox called cboStart at the GUI form...Now I would like to add the integer of 1 to 12 into the combobox,may I know how can I do it?

Member Avatar for javaAddict
0
152
Member Avatar for tanha

Hi. I have a LoginForm.java, and then when the user enter the right username and password, then another file called "DictionaryForm.java" opens and the LoginForm.java, closes. How can I do that ??? see the LoginForm.java: [URL="http://www.daniweb.com/forums/thread119702-2.html"]http://www.daniweb.com/forums/thread119702-2.html[/URL]

Member Avatar for stultuske
0
1K
Member Avatar for shankar101

hi i am doing java project cable network system for local cable operater.but i dont know which information i m including in project .plz tell me

Member Avatar for masijade
0
46
Member Avatar for Panarchy

Hello This is the sister article to my question on C++. I've been told by some other people that java is a better language to learn for the kind of implementation needed. Please don't close the other topic, or stop replying to the other topic, as both of these will …

Member Avatar for masijade
0
236
Member Avatar for janustt

I have a dice game to need to creat that plays until the total of the two die equals the users number, or the two die roll 3 total times. I also need to display the die after each roll. Something like this: Six: Five: and so on... * * …

Member Avatar for janustt
0
158
Member Avatar for jiwatramani

hello ! its stupid to ask this question......but has anyone implemented hash maps in java ? can someone please post a code here. im really unable to implement it and unless i dont do that, it'll be very difficult to understand its concept. thank you.

Member Avatar for Ezzaral
0
99
Member Avatar for brain damaged

hi, I'm working on an exercise, i did a lot of work already and i just can't figure where I'm going wrong, this is what I'm trying to achieve Sample IO ******************************************************************************* Welcome to PeopleSoft 2 MENU: (A)dd student, (D)elete, (L)ist, (S)ort, e(X)it a Enter the student number MSXMIC001 Enter …

Member Avatar for jwenting
0
165

The End.