32,199 Topics

Member Avatar for
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
168
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
157
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
94
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
Member Avatar for crazymidget01

I am trying to read in a file that holds an unknown number of x and y coordinates that are to be later plotted into a 2-D array. Does the file have to be read through twice? Once to determine size of the array needed to plot all coordinates, then …

Member Avatar for NormR1
0
197
Member Avatar for falconpunch

So I was assigned the task of displaying all numbers divisible by two, five, and every third number in a range which I'm sure you can see how I did that. However I am having trouble as I was asked to use while loops, and I would also like to …

Member Avatar for Majestics
0
1K
Member Avatar for gujinni

hi there. my code ws just written in java application thus anyone know how to compile java3d animation compile through netbeans? I already installed j3d and no errors exist. please give me step by step when compiling and running program. I am knew in java 3d animation. tnx.

0
48
Member Avatar for TIM_M_91

Hi there I was wondering if their is anyone who can convert this statement from 'INSERT' to 'UPDATE' as I cannot seem to do is. Code can be seen below: [CODE]public static void COUNT2( ) { try { ResultSet res = stmt.executeQuery("INSERT INTO TABLE2 (VIDEOID,VIDEONAME,DIRECTOR,RATING,PLAYCOUNT) SELECT VIDEOID,VIDEONAME,DIRECTOR,RATING,PLAYCOUNT FROM TABLE1" ); …

Member Avatar for StephNicolaou
0
789
Member Avatar for dennysimon

hello all I create simple software say it's name K.jar ,I place it on desktop I double click it , it run nicely.I close it. I install Nokia Suite (it available on net) When I double click my K.jar ,Nokia Suite run ,my K.jar doesn't run If I uninstalled Nokia …

Member Avatar for dennysimon
0
634

The End.