32,204 Topics

Member Avatar for
Member Avatar for server_crash

Take just this simple method from the graphics class: fillOval()....Why is it abstract? Or better yet, where does it become concrete? I know I've never had to create my own implementation of that method.

Member Avatar for jwenting
0
447
Member Avatar for Java John needs

I need assistance with the following: Write the Java code which uses iteration to produce the following output:: 1 1 2 1 2 3 1 2 3 4 //////////////////////////////////////////////////////////////// My Source code: (Not correct) Please review, I must include a loop to produce output as follows: 1 1 2 1 …

Member Avatar for jwenting
-1
300
Member Avatar for freesoft_2000

Hi everyone, I am trying to add pictures into a html document and so far everthing has been going well but i have a question. Wen i insert the pictures into the html document they show up and i am able to save them to disk in html format. The …

Member Avatar for Sauce
0
127
Member Avatar for joshSCH

Im pretty new to java and I have created a couple simple programs... and I was just wandering how exactly to use textFields and textAreas. I have created a textfield before, but I need a simple textField that works like the windows prompt. I just want a textField that will …

Member Avatar for server_crash
0
412
Member Avatar for ripdeath987

I am making a Java application and I can't make it save multiple text files. The program must save a different file everytime the save button is pressed. Can it be done? I thank you in advance

Member Avatar for freesoft_2000
0
165
Member Avatar for freesoft_2000

Hi everyone, I am currently trying to do an application that does the upload as well the download of files from a http server that needs authentication. The thing is i am not very sure where to begin and i am open to any suggestions. Basically what i am trying …

Member Avatar for Sauce
0
68
Member Avatar for Debugthiss

I'm trying to learn Java on my own; however this book(for lack of a better word) sucks. It only has integer examples; therefore, I am unsure of how to script names, I'm trying "cha"; however it doesn't work. I want to write a program that reads: the total number of …

Member Avatar for Debugthiss
0
204
Member Avatar for jrichards

My problem usually happens when I have logged off the internet and I go back. I get a small screen in the center and it says "dtdp://748/331lljgen44.cjt1net/HTM/704/0/JavaSiteRequest.asp?LV=6000&DC=453&NF=0&IW=720&IH=300&ORD=1121629852397? 7" and after I hit OK it then says can not find site "dtdp://748/331lljgen44.cjt1net/HTM/704/0/JavaSiteRequest.asp?LV=6000&DC=453&NF=0&IW=720&IH=300&ORD=1121629852397? and after that I can go about my business

Member Avatar for mmiikkee12
0
167
Member Avatar for davidlim

I've been writing a java application to run employee data and compute their salary. I'm having some problem with my Manager class. Manager class is for adding and removing employee record supervise by a manager and compute their total salary. Can anyone guide me how to develope this class with …

Member Avatar for Easter Bunny
0
243
Member Avatar for MsEbonee

The assignment is as follows: Write an original program with a theme of a family vacation. The name of the class containing the main method should be VacationXXX. There should be at least four classes. Use a menu with a switch statement to provide a menu of options to call …

Member Avatar for jwenting
0
144
Member Avatar for asatrujesus

Okay, when I first started trying to teach java to myself, I picked up a book called "Java: A beginners guide" by Herbert Schildt. I thought compiling was going to be as easy as c, I was of course wrong. Well through various searches I've figured out how to get …

Member Avatar for asatrujesus
0
438
Member Avatar for fam1x

Can anyone help I have the oddest problem on my PC. I am running Windows XP with SP2 and have IE6. The problem is when I go to [url]www.porsche.com[/url] and try to run the Porsche Car Configurator web page, the page loads up and says done at the botton conner …

Member Avatar for JANINE
0
157
Member Avatar for roopasumanth

hi i want to do a program for mway search( external sorting),displaying each step of sort in java, can any one of you please help me, i am a starter in java. thanks in advance

Member Avatar for roopasumanth
0
155
Member Avatar for Leo Vite

Hi all, Im new to the site and to Java. Im having some trouble with my current assignment. I was suposed to make an isosceles triangle with asterisks based on a number entered by user. I got the first half correct but I can not figure out my loops for …

Member Avatar for Leo Vite
0
121
Member Avatar for CoolHandLuke

I have attached 2 java files which, when run, simulate a calculator that performs addition and multiplication only. I have been working on it for some time...getting assistance from varioius sources. I am having two issues I need help in correcting. They are as follows: 1) When multiplying two single …

Member Avatar for compiler
0
260
Member Avatar for freesoft_2000

Hi everyone, I need a bit of help on java proxies and managed to find some articles about them on javaworld but the thing is that i can't seem to access these articles for over a week now and really don't know why. Could someone please try to access these …

Member Avatar for freesoft_2000
0
142
Member Avatar for EDSCHWARZMANN

I was told a problem was due to corrupted Java, so deleted all files and folders using find function. I also wiped MSIE to use an earlier version which I was told contained MSVM. Original system: W 98 SE, MSIE 6 SP1, AOL 8.0 Java working normally current system: W98 …

Member Avatar for kccomputerdr
0
116
Member Avatar for freesoft_2000

Hi everyone, I need to ask a very broad based question about the JAVA Authenticator class. Is this class only meant to be used for authentication for the Http internet protocols or it can also apply to Ftp internet protocols and Https internet protocols?? Any help is greatly appreciated Yours …

0
72
Member Avatar for bsunkel

Heya, Are there any possibilities to deactive or hide the "minimize" button on the JFrame like you can do with the "exit" button. I got around it by setting a listener for minimizing the window. When the window is minimized, I restored it and bring it to front again. Thanks

Member Avatar for bsunkel
0
151
Member Avatar for mgdz

I am trying to create a class which could be a subpanel. It extends JPanel and implements AdjustmentListener. The JPanel is used here as a container and it keeps JLabels and JScrorrButtons layouted with gridBagLayout. This class instantiated in application doesn't work, none of components (labels and scroolButtons) don't even …

Member Avatar for Phaelax
0
177
Member Avatar for ultimate_fusion

as above im am getting pretting good at java now and have make a few 2d games. i want to get into 3d now. i have tried google but it is really hard to find normal java 3d tutorials. i keep finding the applet ones which i dont want to …

Member Avatar for Phaelax
0
130
Member Avatar for JavaDeveloper

How is it to pass `int [] rank` to main method? public class Card { private int [] rank= new int [13]; private String [] suit={"Spades","Hearts","Diamonds","Clubs"}; private static void rankMaker (int []rank) { for (int i=1;i<=13;i++) rank[i]=i; } public static void main (String []args) { System.out.println("Jack ="+rank[11]); } } Ignoring …

Member Avatar for server_crash
0
151
Member Avatar for freesoft_2000

Hi everyone, I have a rather silly question but please bear for with me for a while. Does anyone have the Java Sun api for this class sun.net.[url]www.http.HttpClient[/url] I tried googling, went to sun's site but also could not find the api for this class. I would appreciate it if …

Member Avatar for jwenting
0
140
Member Avatar for v2_vehooi

someone can teach me about the random genrated? let say i would like to generate a random number between 100 to 200 and store it into one integer variable, what is the code??????

Member Avatar for server_crash
0
104
Member Avatar for mgdz

Is it possible to start thread in paintComponent() method ? I would like that thread to invoke the drawLine() method and count new parameters (points) for this method, and to draw a chart of function in this way. Here's the code,hoply describe better my purposes: [CODE] public class generator2 extends …

Member Avatar for server_crash
0
132
Member Avatar for freesoft_2000

Hi everyone, If i were to set the http proxy for a particular url i did this [code] Properties systemProperties = System.getProperties(); systemProperties.setProperty("http.proxyHost", proxy); systemProperties.setProperty("http.proxyPort", port); [/code] Is the way that i did the best way to do it?? Richard West

0
104
Member Avatar for server_crash

I'm trying to create a calculator using the gridbag layout, but I can't even get started. This layout managers keeps starting stuff in the direct center of the frame and wont put anything anywhere else. I tried this: c.anchor = GridBagConstraints.SOUTH; I just can't seem to get this thing working. …

Member Avatar for SERIAL THRILLA
0
307
Member Avatar for freesoft_2000

Hi everyone, I really need some advice and guidance on the following code [code] import javax.swing.*; import java.util.*; public class PopupAuthenticator extends Authenticator { public PasswordAuthentication getPasswordAuthentication() { String username, password; String result = JOptionPane.showInputDialog( "Enter 'username,password'"); StringTokenizer st = new StringTokenizer(result, ","); username = st.nextToken(); password = st.nextToken(); return …

Member Avatar for Kate Albany
0
127
Member Avatar for Kate Albany

Hi, I am running a system which consists of eight concurrent Java processes. All these processes run on the same box and are backend daemon processes which means they are designed to be started and then run continuously, as they are backend processes they have no user interface. Thus the …

Member Avatar for Kate Albany
0
194
Member Avatar for NewAtJava

hi, i'm fairly new at java, and i'm expected to make a plotting program soon, and i am stuck as to what to do. i haven't found any good tutorials online (most of them just confused me or they made a plotting program that i didn't exactly have in mind)... …

Member Avatar for techy
0
109

The End.