No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
26 Posted Topics
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: A better alternative would be to disable text input altogether (call setEditable(false) on the text field. This deals with the problem of people putting in garbage input. Then all you need to do is use regular expression on the character that was input. Then use reg exp for input if(stringvar.matches("\\d")){} … | |
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 | |
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: Post the whole thing and i'll tell you | |
Re: You'd have to use repaint() I think, and keep re-drawing the oval just 1 pixel lower. I think theres a method called drawOval or something but dont remember what class it's in | |
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: If u dont understand deitels book read it again, best advice imo. has lots of source code to look at so u dont have to be writing programs to know what hes talking about here are overloaded constructors public class methodTest{ public methodTest(){ // this ones the default one } … | |
Re: large = (number1 > number2 ? number1 : number2) large = (large > number3 ? large : number3) small = (number1 < number2 ? number1 : number2) small = (small < number3 ? small : number3) | |
Re: Use repaint() which calls method update(Graphics g), in your case page. update clears the background of a drawing, then calls method paint which re-draws what you have. | |
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: count the days in between current date and that date, subtract it, mod it by 7 | |
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 … |
The End.