User Profile
Collapse
-
Sql Exception
how to overcome from the exception java.sql.SQL.Ex ception: [My Sql)[ODBC 3.51 Driver] Too many connections -
ScrollPane in Frame
Plz any one help me.. How to add the ScrollPane in the Frame . Plz give me sample program -
Substring
hi to all. I have a problem i finding substring.
i have many strings in array
one string as the value String s1="a|b"
2nd as the value String s2= "ab|cd"
3rd as the value String s3= "a|cde"
i want to extract or substring these string values as two strings which is seprated by '|'.
for eg 1st is substring as a and b
2nd is ab and cd
3rd is a and cde.... -
Button event problem
in this pgm, 1 textbox and 1 button displays in the frame. if i enter 3 in the text box means, three buttons will display on right hand side. Then if click every single button means it should display two butons on lefthand side. plz help me.
The code is as follows.
import java.awt.*;
import java.awt.event. *;
public class buttons1 extends Frame implements ActionListener
{
TextField t1;
... -
had a probelm in button program
in this pgm, 1 textbox and 1 button displays in the frame. if i enter 3 in the text box means, three buttons will display on right hand side. Then if click every single button means it should display two butons on lefthand side. plz help me.
The code is as follows.
import java.awt.*;
import java.awt.event. *;
public class buttons1 extends Frame implements ActionListener
{
TextField t1;... -
How to draw a line when the button is clicked
i have encountered a follwing error in my problem... any one plz help me....
public void actionPerformed (ActionEvent ae)
{
if(ae.getSource ()==b1)
{
b2=new Button("Forward 1");
b3=new Button("BackWar d1");
b3.addActionLis tener(this);
b2.addActionLis tener(this);
b3.setBounds(10 0,185,70,30);
b2.setBounds(30 0,185,70,30);
b2.setBackgroun d(Color.green);... -
I didnt find in google search. If any one can plz try that n tell me.. plz plz -
I am getting the runtime Exception.
Access denied<java.lan g.RunTimePermis sionaccessClass InPackage.sun.j dbc.odbc>
This is the exception occuring while running the programLeave a comment:
-
i have written an applet pgm in java.
In this program consists of two textfields and one button. when i click the button the data in the 2 textfields wants to store in a datatbase MsAccess.
Plz tell what is that run time error.. any one plz do this.
import java.awt.*;
import java.applet.*;
import java.awt.event. *;
import java.sql.*;
import java.util.*;
public class screen...Leave a comment:
-
Database storage
verify and tell me what runtime error in this pgm
import java.awt.*;
import java.applet.*;
import java.awt.event. *;
import java.sql.*;
public class screen extends Applet implements ActionListener
{
TextField t1,t2,t3;
Label l1,l2,l3;
Button b1;
public void init()
{
t1=new TextField();
t2=new TextField();...
No activity results to display
Show More
Leave a comment: