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

    E-Mail form

    I found the problem and solved it thanks for your help!
  2. welshspoon

    E-Mail form

    Thank you for your reply but it is still jumping straight to }else{ // sending failed, display error message echo "Your mail could not be sent.";
  3. welshspoon

    E-Mail form

    Hi I was wondering could anybody please help. I'm new to PHP and trying to write an e-mail form. I want the form to send the e-mail to the address on the previously viewed page (i.e. the user selects a link to email that person and it the loads the email form). However, I can get the form to...
  4. welshspoon

    Problem with JList and JPanels

    Thanks for your reply No that didn't work, the panels display but i can still get back to the first displayed by selecting items on the panel. I had this problem before but i can't remember how i fixed it. Thanks again for any help given
  5. welshspoon

    JPanel and JTextFields

    thanks for your reply. basically in a nutshell my problem is if i select a record from the combobox the fields are updated, but if i scroll down to view the rest of the fields no data appears. thanks again
  6. welshspoon

    JPanel and JTextFields

    Hiya I have a JPanel which adds a new JPanel to it when an item is selected from a JList. The updated panels display data from an SQL table but this data can change as the user is able to select other records from a combo box which then update the relevant text fields. However, fields that...
  7. welshspoon

    Problem with JList and JPanels

    Hiya My problem is that I want to be able to update what is being displayed on a JPanel when an option is selected from a JList. Each item on the JList when selected adds a JPanel to the JPanel. When I run the code and select an item the JPanel appears correctly, but when I select a second from...
  8. welshspoon

    Problem with MySQL and prepared statement

    Sorry I thought I had caused some miss understanding. Thank you so much for your help
  9. welshspoon

    Problem with MySQL and prepared statement

    The q is questionbank I've tried running the SQL statement outside of Java and it works fine. Thanks for your help
  10. welshspoon

    Problem with MySQL and prepared statement

    Hiya I am trying to carry out a query on a MySQL database and output the results as single records which can be scrolled through on a JPanel. However, when executed the code I get SELECT q.Question, q.AnswerOne, q.AnswerTwo, q.AnswerThree, q.AnswerFour FROM te st t, questionbank q WHERE t.? =...
  11. welshspoon

    JTree and text file

    hiya! I was wondering whether it was possible to create a tree based around the information held in a text file? For example, if the file was called numbers, then there would be a node(folder) with this name following sub-nodes of the values held in the file. Thanks in advance
  12. welshspoon

    arrays

    hi i'm writing a program so that a user can enter a sequence of values at the command prompt which are then manipulated. These values are stored in an array of size 1000. The problem im having is that I want the program to stop asking the user for values once a zero has been entered and then...
  13. welshspoon

    average problem

    hi i need to find records with an average price greater than $10. I've managed to get the average price for each group and print it to screen but I cannot work out how to display only those records with an average greater than 10. SELECT stor_id, CAST(AVG(Price) AS numeric(12,2)) AS avg_price...
  14. welshspoon

    Arrays

    Hiya! I'm just starting to learn C and I've run into a few problems. I need to allow the user to enter a series or values into an array with no defined size, and when they enter a 0 no more values can be entered. Is there anyway of doing this? Thanks in advance for your help
  15. welshspoon

    web browser

    Thanks for your help and quick reply. That's helped me a lot.
  16. welshspoon

    web browser

    I'm creating my own web browser but i'm having some problems. I want to be able to enter the address into a JTextField but when i use .getText() i either get a MalformedURL Exception or an IOException and i don't understand why or how to correct it. I know the code below is reading sites from...
  17. welshspoon

    canvas problems

    Thank you for your help!
  18. welshspoon

    canvas problems

    Sorry i didn't leave the other class. I've pasted it below. import java.awt.*; import java.awt.event.*; //Class MouseWatcher listens out for Mouse Events and Mouse Motion Events public class MouseWatcher extends MouseAdapter implements MouseMotionListener { private Point p, oldp...
  19. welshspoon

    canvas problems

    I'm having some problems with my code. I want the user to be able to draw on my canvas (i.e. over the two shapes) but i cannot see why my code wont let me. My code is written below. Thank you ----------------- import java.awt.*; import java.awt.event.*; import javax.swing.*; public class...
  20. welshspoon

    find a flash file

    sorry i did intend to write php lol.

Part and Inventory Search

Back
Top