31,002 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
445
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
295
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
126
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
339
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
164
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
66
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
201
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
157
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
238
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
142
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
433
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
152
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
108
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
259
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 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
71
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
138
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
175
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
128
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
139
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
103
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
131
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
103
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
295
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
126
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
107
Member Avatar for George2

Hello everyone, I am looking for education materials of developing C++ application with Eclipse. Could anyone recommend some good education materials? Thanks in advance, George

Member Avatar for George2
0
125
Member Avatar for nccliang

Hi guys , i actually have a eclipse jface listbox in my application and the problem goes like this : I know if i want to add some items to the list box i can simple just setItems or addItems but the thing is that i have this listener in …

0
61

The End.