Components and Libraries
Forum Post
Forum Post

how do i call on a class with (graphics g)

=0;Position=Position-57) { g.drawString("*********************************************************",row+0,0); } } ~~~~~~~~~~~~~~~~~~~~~~~~~~MASTERMIND~~~~~~~~~~~~~~~~~~~~~~...
Forum Post

Comm port communication.

Hey, I am working on a project which is a user interface(In JAVA) for a micro controller based device which controls the functioning of a machine, in which i send the data via the comm port. when i...
Forum Post

Re: JButton help

Thanks a ton for the help. It works perfectly.
Forum Post

Help with multiple frames/classes

Hi im trying to make a program that is simple and has a bunch of buttons on it. I essentially want it to work by Clicking on a button, that opens a specific window for that button and this new window...
Forum Post

Re: JButton help

You got most everything. Need to define "jta" as a class member variable, like "b1" and "b2" so they are visible in the actionPerformed method. Need to retrieve text in the "jta", see method...
Forum Post

Re: need help

The only issue i see is that the for loop does not accumulate the value of each character. i.e. passwordTotal = passwordTotal + b; The passwordTotal must be defined and initialized before...
Forum Post

JButton help

I have an assignment to create a window with two buttons, in border layout. One button in the north and one in the south, with a JTextArea in the center. I have everything done and ready to go but I...
Forum Post

Help me with assignment

Hi, i need help with my assignment. A large company pays sales on a commission basis. The sales people receive $200 per week plus 9% their less sales for that week. For example, a salesperson who...
Forum Post

need help

. "); phrase = keyboard.nextLine(); for(int i =0; i
Forum Post

Re: what im doing wrong?

cd j2sdk1.4.2_09 it says invailed directory. and there is no another BookOrderApp and when i write this on the command promt javac BookOrderApp it doesnt compile it says invalid flag.. Thanks...
Forum Post

Re: what im doing wrong?

Hey, Very hard to diagnose problem without seeing what you have, your java program, and what you typed. Are you working with a single program? Did it successfully compile? Is there a file named...
Forum Post

what im doing wrong?

Hi there, i am new with java programming.and trying to do learn how it works etc. well like all other beginners i got a problem "exception in thread "main" java.lang.NoClassesFoundError...
Forum Post

Re: connecting to a database

If you are using mySQL, you could use the Search Icon in Windows Explorer and look for mysql-connector somewhere within the Local Disk (C:) drive. That should show you the directory where the...
Forum Post

Re: beginner: do-while loop

Hey, To read a file, see this Reading Files tutorial. To use a do-while see this do-while tutorial. For java tutorials, in Google type: java tutorial ????? where ????? is the subject you want...
Forum Post

beginner: do-while loop

i am reading into a txt file and once that is opened the user enters ID numbers, one at a time, until the user enters -1. i just wanted to know how i would do that in a do-while loop.
Forum Post

Re: connecting to a database

yea i knew it had something to do with these damn drivers... umm im using netbeans and i'll have to familiarize myself with try,catch and throw ... im tryin to login to an oracle so i need to...
Forum Post

Re: help with use of arrays

Hey, Sorry, I said "if" and I meant "for". Afraid you missed the problem with the semi-colon at the end of this for statement: for( int roll = 1; roll
Forum Post

Re: help with use of arrays

i have updated my code but my frequency and percentage numbers are mostly 0 or 1 which doesn't logically make sense. not sure if i fixed the "if" statement error you said? did i make any progress?...
 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.