...appear at all! If you are using no Layout Manager, the List takes up the entire frame!!! Other components don't do this. Other components behave! Why me?
Anyway, how can you resize and reposition Lists? Is there ANY way to get around this?!? ***
Dammit Jim, I'm a programmer, not a doctor.
...}
}
As you can see, some types variables have to have content before they can be used, such as draw-on-it able images. That is, only Images that have been created can be drawn on. Otherwise the Image can only serve as a pointer to an image file. ***
Dammit Jim, I'm a programmer, not a doctor.
...the internet, so Java can't figure out what server they should be associated with? Would putting them on the internet fix this problem? I sure as *heck* hope so. Please HELP!
Dos: Proxies. I hate em. But I have a proxy at my work where I'm working on a Java applet and I must be able to...
...appeared as that weird box character that tells you when a letter doesn't exist in a certain font (do you know what I'm taking about?). Do you have any idea why this would happen - and even more strangely - with only some of my spaces? Weird. ***
Dammit Jim, I'm a programmer, not a doctor.
...that if I distributed my game along with the Graphics2D class, all my problems would be solved. Again, it gave me the error:
"file not found when looking for java.awt.Graphics2D
java.lang.NoClassDefFoundError."
What the heck?
***
Dammit Jim, I'm a programmer, not a doctor.
...is:
"file not found when looking for java.awt.Graphics2D java.lang.NoClassDefFoundError."
I know that these errors can be caused by java not being installed, but java is installed on both computers! Do you know how to get around this? ***
Dammit Jim, I'm a programmer, not a doctor.
The database I was trying to connect to was identified as a PHPMySQL Database. That's what I meant. I couldn't find a driver that worked specifically with this database, and this method works just fine. ***
Dammit Jim, I'm a programmer, not a doctor.
...return ret;
}
Note that in this one you must change max_amount_of_data and PHP_name_and_location.
Then merely use getValues to query your database:
i.e.
String[] stuentnamelist = getValues("students","fullname")
Enjoy![pc3] ***
Dammit Jim, I'm a programmer, not a doctor.
...Mixed method(int i)
{
Mixed ret = new Mixed;
ret.i = i;
retrun ret;
}
Mixed method(double d)
{
Mixed ret = new Mixed;
ret.d = d;
retrun ret;
}
Mixed method(String s)
{
Mixed ret = new Mixed;
ret.s = s;
retrun ret;
}
You know, that sort of thing. ***
Dammit Jim, I'm a programmer, not a doctor.
Welcome to phpMyAdmin 2.2.3
MySQL 3.23.36 running on localhost
That's what the database 'homepage' on our server says. Does that help? ***
Dammit Jim, I'm a programmer, not a doctor.
Another mystery!:-)
Consider the following:
public void method()
{
//...
}
private void method()
{
//...
}
If you were to call method(), which method would run? Would it be possible to run the other one? ***
Dammit Jim, I'm a programmer, not a doctor.
...run the 'float' version of the method? What if it was less clear, i.e.
System.out.println("Good morning Dave, this is " + method() + " speaking.");
Would method() return 42, 3.14, or "HAL"?
Hmm... a mystery! [pc3] ***
Dammit Jim, I'm a programmer, not a doctor.
...advice? I downloaded a 'driver' (mm.mysql-2.0.12) and unjarred it, like they said to on the webpage, and it was just a lot of .xml and .class junk. Does anyone have a clue how I can install this driver in order to use it to connect to my database? ***
Dammit Jim, I'm a programmer, not a doctor.
...painter;
public void run()
{
Thread thisThread = Thread.currentThread();
if (thisThread == runner)
{
//do run code
}
else if (thisThread == painter)
{
//do paint code
}
}
Great advice, by the way! Thank you for all the help. ***
Dammit Jim, I'm a programmer, not a doctor.
Note that this code is in the process of debugging, so some parts may be embarrasingly redundant (I'm only a beginner after all):
import java.awt.*;
import java.awt.geom.*;
import java.util.*;
public class Luge extends java.applet.Applet implements Runnable
{
double x = 100;
double y = 75...
...little tidbit that might help in your diagnosis:
When I took the code from a graphics method (WarpImage) out and put it directly into my paint method, my program became responsive again, but there is still about a 5 second delay. Thanx for the help. ***
Dammit Jim, I'm a programmer, not a...
I have a 90-something Kb program (incomplete, too) that refuses to compile avec Q-Basic 4.5. I forget what error message it gives me - I'll add that when I find out - but I'm wondering if there is a size limit on compiling files. ***
Dammit Jim, I'm a programmer, not a doctor.
...on how to:
1. Connect to 'localhost' with JAVA
2. Use SQL to query my database
I have a book that (sort of) tells me how to do this, but I've had troubles finding the right drivers and stuff. I would greatly appreciate some assistance.
ACRRHODES ***
Dammit Jim, I'm a programmer, not a doctor.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.