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
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
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...
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.? =...
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
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...
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...
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
...I haven't finished yet so please ignore them unless they are causing the problem.
All help will be greatfully received
Thanks
import java.io.*;
import java.util.*;
import java.net.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
class...
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...
...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 Sketcher extends Frame
{
public Sketcher()
{
setSize(500, 500)...
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.