Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ACRRHODES

    Lists!!!! Arrgh!

    ...} } public AccessibleContext getAccessibleContext() { if(accessibleContext == null) accessibleContext = new AccessibleAWTList(); return accessibleContext; } } Indeed. Anyway, thanks a lot! [2thumbsup] *** Dammit Jim, I'm a programmer, not a doctor.
  2. ACRRHODES

    Lists!!!! Arrgh!

    ...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.
  3. ACRRHODES

    Struggling to find source of error

    ...} } 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.
  4. ACRRHODES

    Security and Proxy Problems

    ...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...
  5. ACRRHODES

    Weird box character []

    ...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.
  6. ACRRHODES

    Frustrating Error

    ...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.
  7. ACRRHODES

    Frustrating Error

    ...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.
  8. ACRRHODES

    Connecting to PHP Databases with Java

    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.
  9. ACRRHODES

    Connecting to PHP Databases with Java

    ...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.
  10. ACRRHODES

    A mystery with methods.

    ...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.
  11. ACRRHODES

    Localhost

    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.
  12. ACRRHODES

    A mystery with methods.

    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.
  13. ACRRHODES

    A mystery with methods.

    ...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.
  14. ACRRHODES

    Localhost

    ...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.
  15. ACRRHODES

    Unresponsive Input

    ...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.
  16. ACRRHODES

    Unresponsive Input

    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...
  17. ACRRHODES

    Localhost

    I'm using pure Java to connect. As for the rest of your question, I'm not sure I understand. *** Dammit Jim, I'm a programmer, not a doctor.
  18. ACRRHODES

    Unresponsive Input

    ...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...
  19. ACRRHODES

    Too big to compile?

    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.
  20. ACRRHODES

    Localhost

    ...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.

Part and Inventory Search

Back
Top