No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Currently JTextField aligns all text to the left side, how do you change it so all text typed into it goes to the right side instead? |
|
I recently bought this book online used, it came with no CD. Many of the code examples in this book rely on some file called IO.h that apparently came with the CD. I downloaded this file and I still get many errors. Does anyone have these files, or do I … |
|
Is the best way to check for 2 words of same type in a string to make a stringtokenizer and story every word in an array then compare it in a for loop? seems like a hassle for comparing for same words i was wondering if theres a better way? |
|
Re:
I have attached my current source code to this message. It is in .java format. Here is a brief description of my problem: I have a program which accepts input for a Purchase Price, an Amount Tendered, and then displays the Change Due. Also, it must display the number of … |
|
Re:
yes, there's an area of Java I'm almost a complete novice in (so far, I'm going full steam ahead :cheesy: ). I've the following code to filter out non-numeric input from a JTextField (which is meant to contain a timeout interval in minutes, that's why). [code] private void dumpNonNumericInput(KeyEvent e) … |
|
I have 2 partitions currently, a C and a D drive. C is my main drive. I was wondering, would I have to format both C and D to install a dual boot system? Or would I just have to format the D drive and then would be able to … |
|
Looking for one that is easy to install, lots of developement tools, good hardware auto-detection |
|
Was wondering what is the best book on assembly? There are many on amazon but some seem to get really bad reviews. Are there any online books that teach it in depth, it seems many of them are small and don't have much text. |
|
I have a C and D drive, the D drive is a seperate HD from C, and has no essential files for running windows. I want to format the D Drive and eventually install some version of linux to it. Is it possible to just format it and leave it … |
|
I want to learn how to reverse engineer, what is a good starting point? I only know java atm but I have a book on HLA and a book on C. Would I have to learn both languages first or are there books that tell you what you need to … |
|
|
|
I've been asking around places about how I would intercept all UDP packets being sent from my computer and re-send them at a later time. I basically want to pause the packets for 100 milliseconds then send them wherever they were going. I heard something about writing a DNI driver … |
|
Is it possible to view the java classes source code or to get it somehow? I'd really like to see how some of the classes work if its possible |
|
Re:
Hi folks, I shall start my first lesson to learn Java. I found following sites/tutorials; Tutorial (search) [url]http://onesearch.sun.com/search/onesearch/index.jsp?qt=java+tutorial&uid=6910019[/url] Java Tutorial [url]http://java.sun.com/docs/books/tutorial/[/url] [url]http://java.sun.com/docs/books/tutorial/information/download.html[/url] Java Tutorial Books [url]http://java.sun.com/docs/books/tutorial/book.html[/url] Java Tutorial Sites [url]http://java.sun.com/[/url] Java Tutorial, Trailmap [url]http://java.sun.com/docs/books/tutorial/trailmap.html[/url] Training [url]http://training.sun.com/[/url] Kindly advise which of them shall I stick to at start. Are there any … |
|
Im currently using method getKeyText() and getKeyCode() like this How do you listen for * - and + with keylisteners. / is the only one that works atm the rest won't get recognized for some reason if(event.getKeyText(event.getKeyCode())).equals("/")){ //do something } that method works, but when I try using a + … |
|
Re:
I have a JMenu with some radio buttons...For some reason, when I click the stupid things, they won't do anything...and by that, I mean they want change their state to being clicked(as in the circle being filled)..It's like they are disabled...I'll post the snippets of code with them in it: … |
|
Re:
I took a course in C and now im into java. I never created anywith graphics in C. I need to finish a program in C that makes a red ball appear on a blue background and then move down and up the screen. Any information of how to at … |
|
Can applets display images on the viewers hard drive somehow? If so how would I do that? And if I dont know the filenames but I know the directory, is there a way to do it? |
|
How exactly do they recover the files?? What would a program have to be written in to be a file recovery program? |
|
Topic is misleading I edited it. What would be the best way to put a period at the end of a sentence without just adding it to the last word or last variable etc. Like say i had String s = "Hello I am a sentence"; what would be the … |
|
Re:
I am taking a basic java programming class. Unfortunetly it is an online class, and I am unable to find a tutor. We are using the book Java How to Program sixth Ed. and are going through two to three chapters a week. I am soo lost!! My next lab … |
|
Re:
Hi, I have been trying to solve this problem for a while now. I wrote a program that analyzes 3 numbers entered by a user. All calculations are working fine. Now I am attempting to use 'if' statements to display the largest and smallest number entered. I am adjusting the … |
|
Re:
I need the ball to move down until it hits the end of the blue rectangle then move back up until it hits the top and repeat forever. What's wrong with my code? [code] //This applet draws an animated bouncing ball with uniform speed. //The ball starts at the center … |
|
I have 2 seperate HD's, both NTFS. D drive has lots of data etc on it, how would I install linux to D drive? |
|
Re:
I have been using JAVA for a whole two weeks now. I am enrolled in CSC 148 at my local college. I am supposed to write a program that asks the user for his or her age and replies with the day of the week on which he or she … |
|
Is it possible to write a java program that connects to a phpBB or another type of message board, logs in with your info, and can post messages or make new topics? I have used google before but i couldnt find any similar apps. What classes would I have to … |