32,204 Topics

Member Avatar for
Member Avatar for aMOEBa

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 …

Member Avatar for Ezzaral
0
191
Member Avatar for NewOrder

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 …

Member Avatar for JamesCherrill
0
234
Member Avatar for rocky86

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 …

Member Avatar for kramerd
0
72
Member Avatar for Xufyan

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 …

Member Avatar for Xufyan
0
1K
Member Avatar for Xufyan

i've learned arrays, loops, Creating objects and classes, creating methods, Encapsulation, Polymorphism Overloading constructors, Stack what next should i learn ??

Member Avatar for Xufyan
0
104
Member Avatar for kekkaishi

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 …

Member Avatar for kekkaishi
0
104
Member Avatar for sergiolio

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 …

Member Avatar for javaAddict
0
140
Member Avatar for skank111

how to create a java program that will accpt an integer from 0 to 9999 and then convert this into words?

Member Avatar for masijade
0
34
Member Avatar for skank111
Member Avatar for Kimmelivim

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 …

Member Avatar for Kimmelivim
0
95
Member Avatar for tyson.crouch

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 …

Member Avatar for masijade
0
601
Member Avatar for Sunshineserene

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 …

Member Avatar for tong1
0
2K
Member Avatar for badae

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..? …

Member Avatar for badae
0
72
Member Avatar for vincent0625

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

Member Avatar for NormR1
0
59
Member Avatar for Voldemort2

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 …

Member Avatar for Voldemort2
0
147
Member Avatar for Slowly

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 …

Member Avatar for Slowly
0
5K
Member Avatar for bhanu1607

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; …

Member Avatar for NormR1
0
150
Member Avatar for bhanu1607

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 …

Member Avatar for bhanu1607
0
97
Member Avatar for Bahubali

I tried it by using table.addRow statement.plz i need to add on action performed by ADD button.plz can any suggest me.

Member Avatar for kramerd
0
60
Member Avatar for sw8revenge

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 :)

Member Avatar for kramerd
0
52
Member Avatar for prashanth.p.560
Member Avatar for kramerd
0
53
Member Avatar for NewOrder

[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 …

Member Avatar for kramerd
0
186
Member Avatar for judgemental

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 …

Member Avatar for JamesCherrill
0
119
Member Avatar for PDB1982

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 …

Member Avatar for PDB1982
0
89
Member Avatar for judgemental

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"); …

Member Avatar for tong1
0
97
Member Avatar for sciprog1

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() { …

Member Avatar for sciprog1
0
2K
Member Avatar for coco24

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 …

Member Avatar for tong1
0
97
Member Avatar for allang

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 …

Member Avatar for tong1
0
83
Member Avatar for doctorjo5

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. …

Member Avatar for doctorjo5
0
156
Member Avatar for shivana69

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 …

Member Avatar for NormR1
0
95

The End.