- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
i m very passionated about cricket..i m very friendly,i like to make GOOD friends who can trust me and vice a versa
- Interests
- anything about cricket
- PC Specs
- core 2 duo processor,1 gb RAM,160 gb hard-disk
Re:
here is the following code in java applet.. [CODE]//this is one applet which has to be opened when button is clicked... import java.awt.*; import java.applet.*; import java.awt.event.*; public class Order_info extends Applet implements ItemListener { private Label l,l1,l2; private TextField t=new TextField(); private Choice list; String s,selection; public void init() … |
|
Here is my java connectivity code to Oracle [CODE]public class OracleConnectivity { public Connection con; public Connection getConnection () { try { Class.forName("oracle.jdbc.driver.OracleDriver"); con=DriverManager.getConnection("jdbc:oracle:thin:@127.0.0.1:1521:dhanesh","dhanesh","root"); Statement s=con.createStatement(); s.executeUpdate("insert into test (num,txt) values (2,'hi')"); s.close(); con.close(); } catch(Exception e) { System.out.println("Connection failed"); e.printStackTrace(); } return con; } public static void main(String[] args) … |
|
hello friends, i have two frames suppose A and B, when i open or make visible frame B from frame A by making a new object of frame B, I make invisible frame A by " [COLOR="Red"]this.setVisible(false);[/COLOR] " when i done with work in frame B, i need to close … |
|
hello friends, i've 2 forms 1) Home1 and 2)NewAccountForm in Home1 when a button clicked i perform NewAccountForm newAcc= new NewAccountForm (); newAcc.setVisible(true); this.setVisible(false); i.e. make invisible current(Home1) form and visible NewAccountForm , no problem here. [COLOR="Red"]BUT[/COLOR] in NewAccountForm after a button clicked when i try to make invisible current(NewAccountForm)form … |
|
hello friends, i want to insert date in date(text)field of my java form by using calender so that it would be easy for the user to pick the date instead of giving manually, can anybody tell me how to do that? |
|
Re:
Hello great java minds. Could you please tell me why I get "illegal start of expression" errors for the following headers? Thanks for your wisdom!! Lines generating this error: [CODE]public static String getName()[/CODE] --and-- [CODE]public static void displayResults()[/CODE] Here is my first class (that includes this code): [CODE]import java.io.*; import … |
|
hello everybody, i am using java as front end and ms access as back-end for my mini project, in my database, in couple of the tables there is field which i've declared [COLOR="red"]primary key[/COLOR] for those respective tables and which has type of [COLOR="Red"]autonumber[/COLOR]. so my question is, while inserting … |
|
[CODE]#include"stdio.h" #include"conio.h" #include"alloc.h" struct node { int age; char name[25]; struct node * next; }; void add_end(struct node **q); void display(struct node *); void main() { struct node *p; p=NULL; add_end(&p); //display(p); getch(); return; } add_end(struct node **q) { struct node *temp,*r; temp=*q; if(*q==NULL) { temp=(struct node *)malloc(sizeof(struct node)); printf("\nEnter … |