32,199 Topics
| |
Hello, I am a java/html novice. Actually I have no clue as to what I am doing. Currently I have some java applets that communicate with a server and display data based upon what state the equipment is in. Say an input to a system is true it will display … | |
Hey guys n girls, I have two arrays (one for x and one for y axis) which contain labels i would like to display on a graph. How do you recommend i do this? I was thinking multiple JLabels, spread out depending on the quantity. But If theres a better … | |
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 … | |
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 … | |
I am running windows 98 on a Gateway computer. The problem I am having is when trying to install Java I keep getting Error Message 1311 Source file not found. I have tried more than one Java program and it keeps happening. Please help. | |
I'm curious as to how many of you routinely use jdk 1.5 tigers added features, methods, api's and whatever. Or, do you just stick to 1.4? | |
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 … | |
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 … | |
Hi everyone, I have a question to ask about printer attributes. I am using the PrintRequestAttributeSet class and am a bit confused as to whether i will still have to use the PageFormat class to set the page format of my printed page. See this below function [code] public void … | |
Hi everyone, I am trying to center a page number on the bottom center on a printed page but i am having some trouble doing it. I am using the windows default page dialog where the user can select the desired page size(ie, a1,a2,a4) but i am unable to center … | |
I have a few problems. I want to read in a .dat file with characters like below: A B C B * D D * J J * * i used a readLine() from a fileReader, and put all of the characters into a char array. Then i want to … | |
is there a way that i could run java on a windows 95 machine. right now dont know all the specs will get back to you on that. the reason i want to know is a recently got a book on how to code java only problem is my computer … | |
I am doing a project on sending & retrieving sms via java.pls tell me the source code as i am not able to use AT commands in program. | |
Can somebody help me. I need to convert a programme from Qbasic to Java. Any help is much appreciated. Peter | |
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 … | |
I am relatively new to JAVA, so I am still struggling in areas. What is the best way to go about creating a Calendar similar to the one found in Microsoft Works. I am working on an application for a client that requires a calendar which he/she can use to … | |
Hello everyone, I am wondering how to remove debug information (for example, System.out or System.err) automatically when I build/compile a Java project? Does Java compiler or build tool has such options when we build/compile a Java application? Thanks in advance, George | |
Hello everyone, I am wondering how to play sound (for example, .wav, .mp3, etc.) on J2ME platform, especially Foundation profile. Can anyone provide any resources? Thanks in advance, George | |
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 … | |
Hi all, How i make a call servlet to servlet.... code & description is needed. Please help me.. Thanking you. Rishi. | |
Hi everyone, I am currently trying to print a swing component a JTable to be exact but the thing is that i want my user to be able to print even, odd or all the pages. The thing is i am using the swing print dialog and not the windows … | |
I know how to find a directory if I know the full path name of the directory I'm searching for..But, let's say I only know the directory name, and not the full path name..How can I find that directory on a users system? Is there some recursive function or looping … | |
I am a novice in need of help. I have to write a program using a while loop. Start at age 30 invest 5000. at 10% a year. How old are you when you reach one million? Please help | |
Does anyway know of a method which will do this on a vector, or a container which automatically sorts them? Otherwise i might try and use the ascii values. But just wondering what you peeps thought? | |
Hi im new here and im desperate because my java program is due at midnight and im stuck. my computer froze at one point and i lost a lot of info and i thought i put the info back in but now it wont compile.here is the assignment: > Write … | |
I have a program that reads into a 24 x 24 array from a *.csv file and I want to use the values to do currency conversions based on using a certain array element. I have defined into my main method the logic to read the *.csv file values into … | |
I am new to Java but have some C, C++, VB6, and VB.Net. I've written my first GUI and would like to center it on the screen when it starts. Also, I would like to put the cursor in the appropriate input box, depending on a user's choice of radio … | |
Hello everyone, I've been running into trouble when trying to open some links (i.e. the media preferences popup window in Gamespot, ringtone quicktime play for previewing ringtones). When I click on the link, there is no response from Internet Explorer, whatsoever. When I open the link in a new window, … | |
could someone please help me out im looking for an example application that will search windows for a signature e.g a program that will find a keyword when i type it in and search the windows system! if anyone could help it would be great.. | |
I have the code done for the rest of my program but I can not get the asterisks in my histogram to print can you help?? Thanks In Advance!! Here is a copy of my code (driver and class). public class diceSimulation { public static void main(String[] args) { char … |
The End.