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

    Images

    Hi. I have an image img, and I am trying to take part of img and copy it to an array -- I just want part of the picture. What would the code look like if my image is img, and my array is pic (pit[1]=img...)? Thanks a lot
  2. daniel87dec

    Picture

    Hi. Could somebody please tell me how to insert a picture into a Frame. (preferably not swing.) I tried working with Images, but I got the following error: cannot resolve symbol symbol : method getCodeBase () location: class Card img = getImage(getCodeBase), "deckOfCards.GIF")...
  3. daniel87dec

    Transparent Label

    How do you create a button with a picture in AWT? Thanks.
  4. daniel87dec

    Transparent Label

    Can somebody please tell me how to create a transparent label. Thank you in advance!
  5. daniel87dec

    TextField

    Hi. Can somebody please tell me how I can restrict the length of a textField (or a textArea). I want to limit the number of characters a user can enter. Is this possible? Also, is it possible to disable all the keys except for the number keys for a specific textfield?
  6. daniel87dec

    Determining the OS

    Hello. Can somebody please tell me how I can determine the operating system of the computer on which the program is being run. Is there a function in java that does that? Also, is there a function in java that lets you determine the version of java installed on the computer? Thanks in advance.
  7. daniel87dec

    FileWriter

    Can somebody tell me how to solve my problem. this is pary of my code: try{ FileWriter fr = new FileWriter("rawdata.txt"); PrintWriter output = new PrintWriter(fr); String lastNameWithComma = newEmployeeLastNameString+","; output.print(lastNameWithComma); output.close()...
  8. daniel87dec

    createCustomCursor

    Please give me an example of how to create a mouse cursor.
  9. daniel87dec

    TextListener

    Hi! I would like to know how to use a TextListener that would disable certain characters and check what the last entered character was to see which characters need to be disabled next. Example: If the user is to enter a nubmer between 0 and 36, then the computer should disable all characters...

Part and Inventory Search

Back
Top