No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
14 Posted Topics
I have a textfield, and that only accept integer numbers. If user input charter type value it shows JOptionpane Error Message and when user click on the ok button in optionpane message the textfield clear itself public void nosgetit(DocumentEvent documentEvent){ DocumentEvent.EventType type = documentEvent.getType(); if(type.equals(DocumentEvent.EventType.CHANGE)){ } if(type.equals(DocumentEvent.EventType.INSERT)){ String ns=nos_txt.getText(); char … | |
Hello friends, I have created three JComboBoxes. first two of them get list from string. However I select these two comboboxes, the third combobox automatically retrieve data of a particular column from my database. But in my code its only get data from first item which automatically seleted by setmodel … | |
I want to do a project on hotel management. But I can not know how to take the print of the bill of a customer. After I entered data in textfield how to take printout those data in a money receipt format. | |
I installed Oracle9i on my PC which run Win XP. But I can not open "isqlplus" in my web browser. I have some more machines which connect to the server through LAN. And I want to run oracle isqlplus on those system by the IP address of server machine. I … | |
When "ENTER" button in value class clicked the show class wil be run. but nothing happend import java.applet.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; /*<applet code ="value" width=200 height=200> </applet>*/ public class value extends Applet { private JLabel lab1; private JButton btn1; public void init () { // Construct the … | |
Hello frnds, Please help me on this java program "Implement Generic programming to perform arithmetic evaluation using command line argument." | |
[CODE]public class examination extends javax.swing.JFrame { public Connection con; public Statement stmt; public ResultSet rs; public String sname,sid,sub; /** Creates new form examination */ public examination() { welcome wl=new welcome(); String stname=wl.regdno.getSelectedText(); try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con=DriverManager.getConnection("jdbc:odbc:exam"); Statement stmt=con.createStatement(); ResultSet rs=stmt.executeQuery("SELECT * FROM student where sno='"+stname+"'"); while(rs.next()) { sid=rs.getString(1); sname=rs.getString(2); } … | |
Hello friends, I have a problem about JLabel I want to insert a data from database into my JLebel.setText() method.Please help me | |
[code] import java.awt.*; import java.awt.event.*; import java.sql.*; import javax.swing.*; import java.util.*; public class attendance extends JFrame implements ItemListener, ActionListener { static Connection con; static Statement stmt; static ResultSet rs; static ResultSetMetaData rsMeta; String query; String ref="",rollno=""; String[] heads; int[] stChange; String[][] cubeData; int rows, cols, coo; public attendance(String tit, String … | |
I am a learner in java . I want to connect my MYSQL database table to a combo box. I created 3 combo box on my jpanel.When I select first two combo box items its automatically call the data base and show the particular content from my table in the … | |
I have Dell Inspiron Laptop with Intel Core i3 and preloaded Windows 7 64bit. But few days ago I faced virus problem with my laptop so I formatted my system. I have already 3 dvds of backup file and one is restore windows 7 64bit bootable dvd. But I could … | |
I am newbie to MySQL.I create a database in MySQL in command shell by "create database DBNAME". But I can not use my own created database.So friends help me how to log into my database named "DBNAME" because I want to create some tables in that. Thank You | |
I want to see all Name from my excel sheet who are belong same City. So can please tell me any excel formula for this Awaiting | |
I tried a lot to open a JAR file but it is not opening.I typed in command prompt javaw -jar MyJar.jar but it is not open. It makes some error sound bt not open. Please help me regard this |
The End.