383 Posted Topics
Re: [url]http://download.oracle.com/javase/tutorial/uiswing/layout/visual.html[/url] These are all the layouts which java have... Check which one fulfill ur requirement. | |
I have connected java with oracle and providing the facility of accessing data on the lan... I have also open a port, but still my java app over lan start very slowly after that it speed up, but at startup its very slow Y? Thank you for any suggestion | |
Re: Check thread through isAlive Method... and Run another when first finishes. | |
Re: [CODE] import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.text.DecimalFormat; /** The Test class is an applet that calulates ticket prices for a theatre. */ public class Test extends JApplet { private JPanel mPanel; // To hold a text field private JPanel aPanel; // To hold a text field private JPanel … | |
I am writing a prg which take a value from user and check weather its present in table or not.... [code] table.getValueAt(i,j).toString().toLowerCase() == searchfield.getText().toLowerCase(); [/code] Well if yes then make that cell red... What to write to make cell red? | |
Re: Create Method Display in property Class Property dont have constructor to take parameter Create Method getId in property Class | |
Is there any way to take oracle backup from java. [code] Connection c = // Connection Setting; st = c.createStatement(); rs = st.executeQuery("//What to write here for backup"); [/code] I have tried imp and exp utility , but they cant be accessed through sqlplus... | |
select companyname,sum(sale) as TotalSale,sum(purchase) as TotalPurchase from invoice group by companyname Having companyname IN (select companyname from invoice) It returns sum only for those column whose all sum are not blank, how can i show blank sum values I mean there are 7 companies but only 4 records are shown. … | |
How to take a user table backup from that user account? I mean i want to give him grants to take backup... also query to take backup. | |
How to open already present text file... So user can see the data in that file... I dont mean FileInput or OutputStream open. | |
Deal all, i am new to reports , i tried BIRT,JASPER,Crystal and oracle reports ... but i m only able to make a report in designer , how to connect to standalone application of java made in java se edition... So please tell me easy report designer because in vb … | |
Re: 1) start from jdk6 ... 2)Best Book: [url]http://www.amazon.com/Java-Complete-Reference-Seventh-Osborne/dp/0072263857[/url] 3)Download Jdk From Here: [url]http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-download-346242.html[/url] 4)Editor: Notepad or Notepad++ for starter, Eclipse and Netbeans for Advance User 5) Also for Api reference : [url]http://download.oracle.com/javase/1.4.2/docs/api/overview-summary.html[/url] | |
I am new for web desging , i want to learn desging, but dont know where to start from... Which tool is best for desging and easy also... any suggestion , comments will be appreciated. ![]() | |
Re: [code] // First Define "a" outside addTab then add "a", Compiler cant recognize ram a tab.addTab("RD",ram a); // Its Listener b1.addActionListeners(this); //Implement Action Listener class abc extends JPanel { public abc() { txt1=new JTextField(15); b1=new JButton("submit"); b1.addActionListeners(this); add(b1); } } // JFrame is not visible to void main function , … | |
Re: re validate before repaint. Google some example you will get it. | |
Re: [code] for(int i=0;i<30;i++) names[i] = new String(); [/code] You cant use things before initialzing.... | |
Re: [CODE] while(rs.next()){ jTable1.getValueAt(row, col); row++; col++; } [/CODE] WHAT ARE U DOING WITH IT? | |
Re: [code] import java.util.Date; import java.text.DateFormat; import java.text.SimpleDateFormat; private String getDateTime() { DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss"); Date date = new Date(); return dateFormat.format(date); } [/code] Format Your Date Structure. | |
Jtable insert new inserted row at the top.... I want the new inserted row below. Problem 10 james microsoft c.e.o 9 peter linux mgr requirement 9 peter linux mgr 10 james microsoft c.e.o | |
[code]ORA-00001: unique constraint (WAJAHAT.INVOICE_UQ) violated[/code] its the exception, i want to match it with condition and take decision , but its not working [code]if(e1.getMessage().equals("ORA-00001: unique constraint (WAJAHAT.INVOICE_UQ) violated"))[/code] | |
Re: [code]ResultSet res1 = stat1.executeQuery ("insert into client (column names) values ('joker','Miraj',110)" );[/code] Auto Number generated Automatically , insert row directly. MENTION column name in which you want to insert data. | |
Re: [code] import java.io.*; public class regform { public static void main(String args[])throws IOException { BufferedReader br= new BufferedReader (new InputStreamReader (System.in)); String name = null,course = null,days = null,subject = null,section = null,time = null; int unit = 0,ID = 0; int ctr=0; for(ctr=0;ctr<3;ctr++) { System.out.print("\n Enter name: "); name=br.readLine(); … | |
Re: A final class cannot be extended. [url]http://en.wikipedia.org/wiki/Final_%28Java%29[/url] | |
Can any one give a useful link to learn oracle report server and also how to connect it with java application.... Thank you. | |
Can any one give a useful link to learn oracle report server and also how to connect it with java application.... Thank you. Require second question answer.... | |
[code]"insert into invoice(sno,entrydate,invoicedate,companyname,party,station,purchase,avail,sale) " + values("+Integer.getInteger(head.getSerial().getText())+",to_date('"+head.getEntryDate().getText()+ "','dd/mm/yyyy')"+",to_date('"+head.getInvoicedate().getText()+ "','dd/mm/yyyy')"+",'"+head.getCompany().getSelectedItem()+"'"+"'"+head.getParty().getSelectedItem()+"','"+head.getStation().getSelectedItem()+"',"+Integer.getInteger(head.getPurchase().getText())+",1,"+Integer.getInteger(head.getSale().getText())+")"); [/code] SNO NOT NULL NUMBER(38) ENTRYDATE DATE INVOICEDATE DATE COMPANYNAME VARCHAR2(50) PARTY VARCHAR2(50) STATION VARCHAR2(50) PURCHASE NUMBER(10,2) AVAIL NUMBER(1) SALE NUMBER(10,2) Whats wrong in this query.... I am getting sqlException .... | |
Re: Threads are a light weight program.... and your O.S deal with threads its not the Compiler or language. | |
When we define a new variable for frame it hold "null" value, but what it contain when we close that frame? | |
Re: You forget to add constructor.... [code] DropGame() { addKeyListener(this); } [/code] | |
Re: [code] public class PhoneBookEntry { private String name; private String number; PhoneBookEntry(String string, String string2 ){ name = string; number = string2; } public void setName (String phoneName){ name = phoneName; } public String getName (){ return name; } public void setNumber(String phoneNumber){ number = phoneNumber; } public String getNumber(){ … | |
Re: After a preview section................ ;-) | |
[code] import java.awt.event.ItemEvent; import java.awt.event.ItemListener; import javax.swing.DefaultCellEditor; import javax.swing.JComboBox; import javax.swing.JFrame; import javax.swing.JScrollPane; import javax.swing.JTable; import javax.swing.table.DefaultTableModel; public class main implements ItemListener { String[] a = {"one","two","three"}; String[] b = {"4","5","6"}; String[] c = {"7","8","9"}; String[] d = {"10","11","12"}; String[] e = {"13","14","15"}; JComboBox a1 = new JComboBox(a); JComboBox b1 … | |
Re: take them in a char array and count the number with the help of for loop or while loop............. | |
when i click on a column on which editor is attached , the getselectedrow return -1 ...... I have also tried list selection listener but nothinhg work properly.... i dont think it need code.... Please help..... | |
I want combo box in jtable visible from start not when i click the cell... any idea? | |
Re: [url]http://download.oracle.com/javase/tutorial/uiswing/layout/visual.html[/url] You must be wondering for box layout... | |
Re: Check the tutorial for jar creation from netbean Ide , then convert that jar into exe through exewrapper.... Even all these you need jdk kit installed on the system for running the exe files... | |
Re: Write a note with your software that Software require JRE ... and provide link.... Thats all possible............. ;-) | |
I want to provide report facility in my software.... I have seen jasper reports , crystal reports and many other.... In all of them i like crystal reports because they are easy to make.... can anybody tell me how to connect crystal reports with java app.... I dont have any … | |
Re: ALREADY ANCIENT DRAGON EXPLAINED THE PROBLEM ONE MORE POINT IN YOUR LOGIC IS TERMINATION OF THE PROGRAMME USE [Code]while(sign!='Q')[/CODE] so when you enter Q then it will terminate the programe else it will do your respected task. | |
I have made a single combo box and added it with table... Items are added from database. There are three combo box A , B AND C ... B depend on A And C on B. Now if i select anything from row one A combo box it will load … | |
I am doing a web project... I am new to website design ... I want to create such a website which look same in all browser... Most of the time different browser cant follow same layout and website structure doesnt look same... I have searched this matter alot but didnt … | |
Re: Use windows hibernate option.... | |
Re: Add MouseListener Interface in the class, add mouselistener property with the button , write necessary function of mouse listener [url]http://download.oracle.com/javase/tutorial/uiswing/events/mouselistener.html[/url] write your code in any function of mouse event which is for preferable for you.... | |
Re: The error which you are talking about is mostly cause by application. uninstall bit defender... if still the problem occur , then check which software you have installed recently.... |
The End.