32,204 Topics

Member Avatar for
Member Avatar for YiJun

Hi! I'm a newbie at java and I need help with an inventory program for a school project. I planned the inventory program for the user to keep track of their inventory in MMORPGs. I want the user to be able to add, delete, update, sort the items, also be …

Member Avatar for YiJun
0
2K
Member Avatar for DanOath

I am supposed to write a method to display a pattern as follows: ________1 _______21 ______321 _____4321 ____54321 ___654321 __7654321 _87654321 987654321 (underscores are simply placeholders to show alignment on my post they are not actually part of the printout) My program works and prints the aforementioned code correctly, however …

Member Avatar for zeroliken
0
399
Member Avatar for Thermalnuke

hey here is what i got.... i get an error after my while statement that i need a ; after my while but that dosent make any since, cause there shouldnt be any ideas???? suppose to be an easy loop statement if the string does not contain @ then keep …

Member Avatar for Thermalnuke
0
94
Member Avatar for frivolous

i want to read mp3 file and extract its features which i will use further for identifying mood of song. can u help me in extracting feature of mp3 and which feature will b most appropriate for mood identification?? thank u

Member Avatar for zeroliken
0
279
Member Avatar for jackmaverick1

I've got a wall in my 2-D game. I've got everything except the not-allowing-you-into the wall part. I know I can use the intersect method on some Rectangles to know if they intersect, but I need to know where they intersect so that I can kick them out when they …

Member Avatar for NormR1
0
118
Member Avatar for xiiopao

good day guys.., just want to know more about method signatures.., can anyone here give me some samples or method signatures that could be helpful in hotel reservation program and flight reservation program.., i don't really have a code just need sample method signatures thanks guys =)

Member Avatar for NormR1
0
180
Member Avatar for Hypnos_16

I'm trying to write a program that allows a user controlled character to move around a maze. That problem i'm having is having it determine when it runs into a wall. I have a code done up to handle it. I'm just running into some errors i need help cleaning …

Member Avatar for NormR1
0
271
Member Avatar for bibiki

Hey there, I am trying to build an application that listens to my mouse. once I click on my panel, it reads the x, y coordinates of the point I clicked on. Second time I click the panel, it reads the x, y coordinates of this other point and draws …

Member Avatar for NormR1
0
152
Member Avatar for TIM_M_91

Hi guys well I am trying to create a UML diagram and what I want to know is am I doing it correctly so far? First of I have a main class called 'Class1' which has two buttons 1 for 'class 2' and the other for 'Class 3'. So have …

0
91
Member Avatar for ringo_tech

hi there, i have a simple code of voice chat found it in Java Developer Solutions [URL="http://javasolution.blogspot.com/2007/04/voice-chat-using-java.html"]http://javasolution.blogspot.com/2007/04/voice-chat-using-java.html[/URL] i tried to add simple GUi consists of a text where i can enter the server ip and a button click it to connect (calls CaptureAudio()) but when i try to use this …

Member Avatar for ringo_tech
0
100
Member Avatar for needjavahelp

I need help with a java program i have to make a program which allows users to draw free hand on a screen, i have no idea how to do this and i need to also understand the code that I use. I also need to put buttons to the …

Member Avatar for jbennet
0
130
Member Avatar for bloodbender

Hi guys, Is there a way to confirm your answers for simplifying boolean algebra OTHER THAN truth tables? AND = * OR = + p * q * r + p * r is simplified into just p * r, which of course is the correct answer, but how can …

Member Avatar for stultuske
0
168
Member Avatar for RDane

Why do I always get the error Student_Id do not have a default value? Is there something some with my code? Cant I do 2 PreparedStement and execute it together? [code] private void cmdaddMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_cmdaddMouseClicked // TODO add your handling code here: //String sql = "INSERT INTO student (Student_ID, …

Member Avatar for javalover
0
473
Member Avatar for svatstika

Hello everyone! My idea is like this: Class MainWindow is a JFrame object, on which there is a JButton object (named button1). When I hit that button, the second window (this window is a JFrame object that is instance of class SecondWindow) will appear with a JTextField object (named textField) …

Member Avatar for NormR1
0
277
Member Avatar for dennysimon

hi all is there an installer for jar file ? (hopefully free ware) so client run setup.exe to install jar file ? thank you denny

Member Avatar for dennysimon
0
148
Member Avatar for Mushy-pea

Hi. After many years of having a hobbyist interest in programming but doing other things for a job, I've decided it might be time to attempt a career change to application development. The other areas I've worked in, such as teaching English to non - native speakers, aren't directly relevant …

Member Avatar for stultuske
0
312
Member Avatar for jouj

using the java swing how can i put a background image to my application in a way that the image will cover the frame . [B]ps [/B]: I'm new to the java so maybe my question is a silly one but i will appreciate any help .

Member Avatar for NormR1
1
169
Member Avatar for jayadan

hey guys i did a program for converting number into words and i almost got through but my folks want it even possible for decimal numbers too buti couldnt make that possible and can anyone help me in this and i also attach the codes i did and if something …

Member Avatar for jayadan
0
158
Member Avatar for SMVK

I am goign to do a project which needs voice input to be done. I looked through HTML 5 have tags for voice input. I like to use Sphinx 4 to do speech to text conversion? Where do i start? Any help please...

0
69
Member Avatar for maxinville

I'm a having a serious problem creating variable. I am creating an application that gets its datas from a database, and before you can access the application you must login first. My problem now is my Login class can do all the validations but I don't know how to set …

Member Avatar for maxinville
0
203
Member Avatar for DEAD TERMINATOR

I'm working on a music player and I want to make it so that if I'm playing a song and I click on another song in the list the first song stops before I hit play on the second one, without having to manually stop the first. So just the …

Member Avatar for DEAD TERMINATOR
0
2K
Member Avatar for life4menu

I have a text file that has two columns one with time in milliseconds and the other with (x,y) coordinates. I created a JFrame in a class that extends JPanel. It shows a model of constructed ladder that we use in our experiments. Now I want to print some small …

Member Avatar for dennysimon
0
213
Member Avatar for Yarra

[B]I have a bank class below. What is the best way to add amounts to any instance variable in any of the constructors to make it o when i add different amounts from 2 or more different classes it will update in a way that when i call the method …

Member Avatar for stultuske
0
96
Member Avatar for shean1488

Hi everybody. I'm trying to split a string such that every array element would have characters between open and close prentesis. mmm let me just show: myString = "(2*((3-2)+(5-3)))" So my array should have values like that: myArray[0] = 2*((3-2)+(5-3)); myArray[1] = (3-2)+(5-3); myArray[2] = (3-2); myArray[3] = (5-3); I …

Member Avatar for J_A_L
0
20K
Member Avatar for termin8tor

Hello all! I am working on a regular expression to be used in descrambling words in my scrabble solver. What I am attempting to do is write a regular expression that can be used to find all characters within a scrambled word, irrespective of order and match them to a …

0
91
Member Avatar for leiger

This code works perfectly fine when I run it as a class file (the font is located in the same directory) - however when I package it into a JAR file it can't find the font and the program crashes. The font is definitely being included in the JAR archive, …

Member Avatar for karlmeier
0
4K
Member Avatar for gujinni

hi there. I am just new in java 3d why my program always says Exception in thread "main" java.lang.NullPointerException: Canvas3D: null GraphicsConfiguration at javax.media.j3d.Canvas3D.checkForValidGraphicsConfig(Canvas3D.java:963) at javax.media.j3d.Canvas3D.<init>(Canvas3D.java:1006) at pkgnew.New.<init>(New.java:39) at pkgnew.New.main(New.java:51) Java Result: 1 however, I already installed j3d and jre. I cannot run and compile my program. Nothing appears when …

Member Avatar for gujinni
0
118
Member Avatar for Krokcy

Im creating a banking system for a university assignment. Basically I have been struggling with encrypting user data. Its a first year assignment (in a 3 year bachelor) please bear this in mind when commenting x))) [CODE] //The constructor sets the global veriable key to a user defined value. //The …

Member Avatar for stultuske
0
150
Member Avatar for loserspearl

I've been working on a search engine that users manually add files to, build and inversed index, and can search some text and the program will saw which files have that text in them, you can choose and, or, or phrase search (just working on and & or search at …

0
65
Member Avatar for gujinni

hi there.! I have some problem about my calculator. I already made basic calculator but I want to developed it more instead of computing only 2 input I would like to compute this more than two. my calculator looks like windows calculator. tnx and more power. =)

Member Avatar for gujinni
-1
206

The End.