32,204 Topics
| |
I really need help(ideas) with a project I want to work on. I want to build a software that will be used for Financial Management in a bank with java. What I need is help with where to start and also pointers to resources that might help me get this … | |
okay i have question about how to apply those to my code. first the Hashmap, i used the code it and i entered information inside dic.put(studentName, new Student( studentName, studentSurname, studentSubject, daysBookBorrowed, booksName)); this is what i put inside. now i want to extract studentName , i want the user … | |
hi guys, i need help!, how do i extract odd digits from a positive number, example: 1234567 then only 1357 will be extracted out from the value 1234567? I noe can make use of modules % to check for odd and even number however i do not know how to … | |
In this program how can i overload the pop() method to use two pop() methods (int and float) in a program as i used two push() methods ? [CODE] class Stack{ int StackArrayI[] = new int[3]; float StackArrayF[] = new float[3]; int tos=-1; public void push(int value){ if (tos==2) System.out.print … | |
i've learned arrays, loops, Creating objects and classes, creating methods, Encapsulation, Polymorphism Overloading constructors, Stack what next should i learn ?? | |
hi, i've been trying, without success, to maintain the style of the text in a jTextPane when it is copied into the clipboard. what I want is to copy the text in a jTextPane with styles (eg: bold, italic) and to be able to paste it into MS WORD with … | |
Election Applicatin of Classes & Objects `create an election 2010 program with the following details: User Interface: Design your own user interface for the ff modules/methods: >User Leverl(admin & user) for admin,can manipulate the whole part of the program for user can only view voting part. >Registration: Assuming that there … | |
how to create a java program that will accpt an integer from 0 to 9999 and then convert this into words? | |
how to create a jprogram that will find the greatest vcommon divisor?? | |
This is my java assignment for school and I have done most of the work. But I still have some other features I have problems with adding. This is a guessing game where to program requests a number from the user between 1-1000. It will tell the user if the … | |
G'day guys, My boss has just asked me to develop a small CRM system. Now, writing a simple SQL Insert is not something im a stranger to, however for some reason i cannot seem to get this working. I've included all necessary libraries, and tested the actual sql statement in … | |
Hi, I want to know to rows and columns of numbers from a text file. I do not want to read it as a string, but one number (including numbers with decimal) by itself. I tried using FileInputStream and DataInputStream, but I'm not really good at it. I don't know … | |
Hello Everyone! Im making program using java that would look like the (attached file).. If i will choose an item in the combobox(with 3 choices) the corresponding Price would automatically appear on the Price Jtextfield, im having a difficulty if i should use switch or if then else or both..? … | |
Hi, I have some problem in solving my homework in java language. I was asked to produce a boolean array and implement some operation. private boolean[] set; How can I add integer into the array list?? thanks | |
I have just started programming in java. I am planning to do a project on barcode reader. Can you suggest from where shall i start? I want to learn about manipulating pixels. How can i convert the set of pixels into the array of pixels? I am in desperate need … | |
Hi, This code snippet works. Except for one line, which I cannot find the solution to. public void read(Scanner in) { Pattern p = in.delimiter(); in.useDelimiter("\n"); while(in.hasNext()) { in.next(); lineCount++; } //rewind pointer - how!! ?? in.useDelimiter(p); while(in.hasNext()) { wordCount += 1; charCount += in.next().length(); } } ...it appears, much … | |
Here i created four buttons. If i clicked second one i should able to draw a line. please tell me what is the mistake.. [code = Java]import java.awt.*; import javax.swing.*; import java.awt.event.*; class Polygon extends JFrame implements ActionListener { JFrame f; public JPanel jp1,jp2,jp3; JButton b1,b2,b3,b4,b5; JTextField txt; int x,y; … | |
This is code for, a smiley have to move on the screen from one place to another. But in this code Smiley create but it is moving. Please tell my? Is there any wrong in my code. import javax.swing.*; import java.awt.*; class CreateSmiley extends JPanel { int x = 0,y … | |
I tried it by using table.addRow statement.plz i need to add on action performed by ADD button.plz can any suggest me. | |
i really need some help i need a atm program that has 5 default client and a program that creates or add client in the program!! JAVA CONSOLE hope u can help me :) | |
can anybody tell me what java opportunities are exist in the market? | |
[CODE]import java.io.Console; import java.util.ArrayList; public class IteratorEx5 { public static void main(String[] args) { Console console=System.console(); String movie=""; String Subscriber=""; String movieType=""; ArrayList<Subscriber> sub=new ArrayList<Subscriber>(); String stop; BlockBuster dvd= new BlockBuster(); while(true){ System.out.println("Enter the movies name"); movie=console.readLine(); System.out.println("Enter the movies name"); Subscriber=console.readLine(); System.out.println("Enter the movies name"); movieType=console.readLine(); System.out.println("Enter the movies … | |
Hi, I have done my ordering class. which contains all the components. My problems is how do I set picture as the background and maximize the picture size? either one of the way 1) i have a class that contains the picture program. How to connect the two program? the … | |
Why am I getting this error: [code] Please Enter 5 variables: Please enter value in slot 0:1 Please enter value in slot 1:2 Please enter value in slot 2:5 Please enter value in slot 3:4 Please enter value in slot 4:2 [COLOR="Red"]Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 5 at Duplicates.NumberCheck(Duplicates.java:32) at … | |
hi, this is my code to display one textarea, textfield and label in the flowlayout. and 2*2 button /** * @(#)Gui.java * * * @author * @version 1.00 2010/10/5 */ import javax.swing.*; import java.awt.*; import java.awt.event.*; public class Gui extends JFrame{ JButton b1=new JButton("one"); JButton b2=new JButton("two"); JButton b3=new JButton("three"); … | |
Hello Members, If possible, kindly let me know why I am not able to see the text in the buttons("Button" and "Button two!") when I run this Java program: [CODE]import java.awt.*; import javax.swing.*; public class Sample extends JFrame { private JButton b1, b2; private final Container container; public Sample() { … | |
My professor said we have to write a page about how to trace this for(int count = 0; count <= 3; count++) for(int count2 = 0 < count; count2++) System,out,println(count2) Can somebody give me a general idea of how to trace this I know the answer is 0 0 1 … | |
I'm stuck. I'm trying to wirte a very small animation applet. It is suppose to import 15 BMPs and then of course play them back in an animation. I have the BMP's stored in a seperate directory but think I have the path right. It seems I am continually getting … | |
My project is as follows: 2. Modify the class NumberTest.java so that: a) The user is prompted to enter an integer and a double and the following information is displayed: a. adding the two number, b. subtracting the double from the int, c. dividing the int by the double, d. … | |
You are required to select interesting problem domain and do analysis and design (using UML) to provide an Object Oriented Implementation (using JAVA). The implementation must demonstrate usage of Object Oriented concepts: encapsulation, inheritance, polymorphism, etc. The application must have at least 4 classes. Please help i am not good … |
The End.