32,204 Topics
| |
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... | |
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 … | |
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 | |
please tell me under what condition we should we use abstract classes and main difference between interface and abstract classes | |
[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, … | |
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 … | |
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 … | |
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, … | |
Any body can help me with this problem!.... I want my program to communicate to Windows Registry!.... anybody know? | |
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 … | |
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 … | |
why it is use full to resolve overridden method at runtime rather than compile time | |
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 … | |
[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 == … | |
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 … | |
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 … | |
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 … | |
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 … | |
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! | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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] | |
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 | |
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 … | |
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... * * … | |
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. | |
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 … |
The End.