383 Posted Topics

Member Avatar for conanzz

[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.

Member Avatar for mKorbel
0
299
Member Avatar for Majestics

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

Member Avatar for Majestics
-1
75
Member Avatar for charchar88
Member Avatar for charchar88
0
154
Member Avatar for mattyg1192003

[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 …

Member Avatar for mKorbel
0
138
Member Avatar for Majestics

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?

Member Avatar for mKorbel
0
109
Member Avatar for willywhomperz

Create Method Display in property Class Property dont have constructor to take parameter Create Method getId in property Class

Member Avatar for Majestics
0
209
Member Avatar for Majestics

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...

Member Avatar for Majestics
0
250
Member Avatar for Majestics

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. …

Member Avatar for drmrkrch
0
167
Member Avatar for Majestics

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.

Member Avatar for Majestics
0
112
Member Avatar for Majestics

How to open already present text file... So user can see the data in that file... I dont mean FileInput or OutputStream open.

Member Avatar for peter_budo
0
88
Member Avatar for Majestics

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 …

Member Avatar for Majestics
0
88
Member Avatar for MagnetoM

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]

Member Avatar for pro_learner
0
109
Member Avatar for Majestics

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.

Member Avatar for GreenDay2001
0
98
Member Avatar for jason_joseph60

[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 , …

Member Avatar for NormR1
0
125
Member Avatar for teo236
Member Avatar for teo236
0
246
Member Avatar for marsangel
Member Avatar for Jessurider

[code] for(int i=0;i<30;i++) names[i] = new String(); [/code] You cant use things before initialzing....

Member Avatar for NormR1
0
169
Member Avatar for Thigina

[CODE] while(rs.next()){ jTable1.getValueAt(row, col); row++; col++; } [/CODE] WHAT ARE U DOING WITH IT?

Member Avatar for Thigina
0
2K
Member Avatar for manish250

[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.

Member Avatar for Majestics
0
224
Member Avatar for Majestics

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

Member Avatar for Majestics
0
109
Member Avatar for Majestics

[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]

Member Avatar for mKorbel
0
116
Member Avatar for Dhanesh10

[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.

Member Avatar for Dhanesh10
0
362
Member Avatar for akasekaihime

[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(); …

Member Avatar for NormR1
0
125
Member Avatar for phoenx
Member Avatar for akasekaihime
Member Avatar for bhawna_5nov
Member Avatar for javinpaul
0
282
Member Avatar for Majestics

Can any one give a useful link to learn oracle report server and also how to connect it with java application.... Thank you.

Member Avatar for debasisdas
0
77
Member Avatar for Majestics

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....

Member Avatar for Majestics
0
137
Member Avatar for Majestics

[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 ....

Member Avatar for peter_budo
0
92
Member Avatar for I<LateNupurGuha

Threads are a light weight program.... and your O.S deal with threads its not the Compiler or language.

Member Avatar for Majestics
0
100
Member Avatar for Majestics

When we define a new variable for frame it hold "null" value, but what it contain when we close that frame?

Member Avatar for Majestics
0
300
Member Avatar for Majestics

Oracle accept dates in '00-JAN-0000' format, is there any way i can change it to '00-01-0000'.

Member Avatar for debasisdas
0
162
Member Avatar for sirlink99

You forget to add constructor.... [code] DropGame() { addKeyListener(this); } [/code]

Member Avatar for sirlink99
0
518
Member Avatar for Arjun_Sarankulu
Member Avatar for newcuser

[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(){ …

Member Avatar for stultuske
0
440
Member Avatar for newbie14
Member Avatar for Majestics

[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 …

Member Avatar for Majestics
0
234
Member Avatar for gujinni

take them in a char array and count the number with the help of for loop or while loop.............

Member Avatar for Majestics
0
115
Member Avatar for Majestics

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.....

Member Avatar for mKorbel
0
233
Member Avatar for Majestics

I want combo box in jtable visible from start not when i click the cell... any idea?

Member Avatar for Ezzaral
0
145
Member Avatar for lynnajoe

[url]http://download.oracle.com/javase/tutorial/uiswing/layout/visual.html[/url] You must be wondering for box layout...

Member Avatar for JamesCherrill
0
159
Member Avatar for marsangel

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...

Member Avatar for marsangel
0
101
Member Avatar for ankit.pandey3

Write a note with your software that Software require JRE ... and provide link.... Thats all possible............. ;-)

Member Avatar for Majestics
0
113
Member Avatar for Majestics

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 …

0
73
Member Avatar for allialli

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.

Member Avatar for Zulkaif dilawar
0
15K
Member Avatar for Majestics

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 …

Member Avatar for Majestics
0
156
Member Avatar for Majestics

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 …

Member Avatar for SharedKnowledge
0
156
Member Avatar for hassan12345
Member Avatar for syeda amna

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....

Member Avatar for mKorbel
0
219
Member Avatar for sphe_g

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....

Member Avatar for Shade01
0
238

The End.