hello
i'm developing an applet for a basic currency converter but it won't display the result at the moment
this is the button cathcher class, it should set the testReturn TextField with the converted figure (double the inputted figure at the moment)
anyone know what is wrong with it?
class...
hi
i'm just learning JavaScript and have a couple of questions if anyone could help
1. is there any rules as to when you should include javascript in between <HEAD></HEAD> and when in between the <BODY></BODY> tags
2.i've written an applet and when trying to get it to work the page runs but...
hi there
i'm storing ints in a vector and want to be able to work out the average of the int values
the functions below should do it but i am only getting the last value returned not the average of all of them
can anyone see where i'm going wrong
public void averageSwing ( )
{
int...
hi
i have this code which i think will access a multi-dimensional array, however it comes out with -85763640!!
it is
the main function
#include <iostream.h>
#include "lookUp.h"
void main( )
{
lookUp look;
cout << "hello world" << endl;
cout << look.labSeats( 3 ) <<...
hi
i want to use a card layout in my appication, using this or any layoutManager can i paint directly to the screen or do i have to paint onto a component such as canvas??
any ideas
thanks
ewan
hi
i am storing ints in a vector by wrapping in class Integer
swingsStore.addElement( new Integer (swing) );
but i am having trouble extacting the value, i don't want to change it just store then extract all the values
here it what i currently have
do
{
int size = swingsStore.size(...
this is the code that sets up connection and executes the SQL
public void get97Result( )
{
try // establish the Connection
{
Connection connec = DriverManager.getConnection( "jdbc:odbc:EwanProject" ) ;
String seat = "RAYLEIGH"; // just hard coded this in to test...
hi
i am using PreparedStatement to return a resultSet of just one row.
it seems to work, (compiles and runs) but as soon as i try and extract any values I get the
SQL Error: Invalid Cursor State,
i've tried a variety of ways and am now stuck!!!
thanks
ewan
hello
i have a database that is working and i can extract values from the database, i now want to update values. I think i have got the correct SQL syntax but get an error saying: No resultSet was produced, i didn't think i would want a resultSet if i was just updating a table
any tips??? I...
Hi
i have code that compiles, and returns the first row of a resultset to a window,
however when i use my menu items to navigate to the last, first etc rows of the result set i get
Exception Occurered during event dispatching:
java.lang.unsupportedOperationException
on the console and...
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.