Search:
Type: Posts; User: XDan
Search:
Search took 0.02 seconds.
-
December 14th, 2009, 12:52 PM
I have to make a script that will prompt the user for a source file then a destination file and then copy the source to the destination. This is what I have so far:
#!/bin/bash
echo -n "Enter...
-
December 4th, 2009, 12:54 PM
Ok because I tried that before and I didn't see an option to change the icon under properties. Maybe I'm looking in the wrong place or something? >.>
-
December 4th, 2009, 12:11 PM
How do you change the image displayed for the jar? Like I want to have my own custom icon for instead of the default Java logo.
-
December 4th, 2009, 12:06 PM
Nobody will post the complete solution for you. Try it yourself, post what you have and we'll try to help you that way.
-
December 4th, 2009, 02:10 AM
I compiled and ran your code and it pretty much has the same output as mine you're just displaying elements in the array in a table format with with everything aligned. I did the exact same thing...
-
December 4th, 2009, 01:36 AM
Okay, well my solution is far less lines of code. Here it is:
public class Table {
public static void main(String args[]) {
double values1[] = new double[] {10.5, 3.7, 234.3};
...
-
December 4th, 2009, 01:15 AM
http://i247.photobucket.com/albums/gg157/Daniel1640/example.png
Do you mean something like this? I can post the code for it if you want...
And please edit your post with
// Code goes here......
-
December 4th, 2009, 12:43 AM
^ Post your code up already if you want us to give you suggestions. Nobody is going to code it for you.
-
December 3rd, 2009, 12:33 PM
Okay I solved it now. Thanks everyone.
-
December 3rd, 2009, 10:51 AM
Thanks I was thinking of some kind of sorting method because my professor was discussing it with us in class, but this might be a more understandable approach.
Does something like this look about...
-
December 3rd, 2009, 12:19 AM
Okay, so post what you have so far and we'll try to help you. You really shouldn't be taking courses like this if you're not interested in it at all though...
-
December 3rd, 2009, 12:00 AM
I have an array of 5 strings which the user provides via the scanner class. However, I need to prompt the user to select two indexes of the array and swap them accordingly. I'm exactly sure how to do...
-
November 19th, 2009, 06:03 PM
We all get what the point of your program is, but as everyone above has told you it is incorrect right now. Parse the input to a double variable... JOptionPane only accepts Strings how do you expect...
-
November 19th, 2009, 01:26 PM
Exactly why you shouldn't be attempting GUI programs yet. Did your teacher actually start you off with swing or are you just doing this yourself? Because if you only know if statements and loops, you...
-
November 19th, 2009, 09:51 AM
Okay no offense or anything but if you really want to be a good Java programmer, you should not be starting off with GUIs. First go back and learn all the basics (starting from data types to control...
-
November 18th, 2009, 01:34 PM
Thanks man, that worked great. It was an easy fix I just used the boolean "on" within the statement.
-
November 17th, 2009, 10:53 PM
Basically, I have a Fan class and a TestFan class which makes use of the Fan class..
Fan:
public class Fan {
private final int slow = 1;
private final int medium = 2;
private final int...
-
November 17th, 2009, 05:07 PM
Thanks, I was looking for this too.
|
Click Here to Expand Forum to Full Width
|