383 Posted Topics

Member Avatar for Majestics
Member Avatar for Ezzaral
0
96
Member Avatar for klenne

[code] catch (SQLException ex) { return false; } [/code] Add this and try again. As ur catch exception dont have return thats y u are encountering this error.

Member Avatar for klenne
0
272
Member Avatar for Majestics

I have encountered ORA 00604 Error, while i was accessing database from my app over Vista system over network, it runs ok on database system... Can any one help me please finding out the solution.

Member Avatar for Majestics
0
94
Member Avatar for Majestics

How to keep look and feel of java program as classic windows style , even the style of the windows change to windows xp look, or aero look? I mean permenantly keeping classic look? Has any one has any idea? Thank you............... for any advice , help... :)

Member Avatar for Majestics
0
167
Member Avatar for mith_cool

Static keyword is visible to all instance so its updated from 0 to 2, while when u dont use static then "i" original value get printed, which is new for each instance.

Member Avatar for JamesCherrill
0
177
Member Avatar for Majestics
Member Avatar for Majestics
0
214
Member Avatar for dayghost
Member Avatar for dayghost
0
242
Member Avatar for AhmedGhazey
Member Avatar for Bladtman242
0
108
Member Avatar for lena1990

[url]http://www.java2s.com/Tutorial/Java/0240__Swing/CreatingaJTable.htm[/url] You are missing table model. Also ur one must work.

Member Avatar for Majestics
0
125
Member Avatar for Majestics

I HAVE TRYING SPLASH SCREEN IN MY APP, BUT CANT GET THE BASICS YET.. SPLSAH SCREEN ISNT WORKING, CAN ANYONE GIVE ME A SIMPLE EXAMPLE hERE is my code. [CODE] import java.awt.Graphics; import java.awt.Image; import java.awt.Toolkit; import javax.swing.JWindow; public class introduction extends JWindow { private Image img; introduction() { setSize(128,128); …

Member Avatar for Majestics
0
184
Member Avatar for Scicluna

Yes, u require a user table in database to handle this thing. Try Oracle or access according to your requirement. Or make ur own file which store username and password and encrypt it.

Member Avatar for Tellalca
0
446
Member Avatar for jhopwood

check your ArrayIndex as well, you need to minus when u press previous [code] 397 ArrayIndex = ArrayIndex + 1; // increment the array index to get to the next value [/code] Also you need else if statement to jump on first.

Member Avatar for Majestics
0
7K
Member Avatar for Haridha

[url]http://www.roseindia.net/java/beginners/TypeCasting.shtml[/url] It isnt a question answer Forum, u can search easy question like this over google. Still check above link.

Member Avatar for Majestics
0
57
Member Avatar for sirlink99

Same problem was with me too... So i simply made a jar with libraries and put images in a seprate folder and made a extract.

Member Avatar for sirlink99
0
1K
Member Avatar for sirlink99

[url]http://letshare.it/blog/saving-file-to-computer.html[/url] Cross Posted. I think you are choosing a directory.

Member Avatar for NormR1
0
319
Member Avatar for harinath_2007

Zero Time. Check ur condition its a straight forward maths question. 1 cant be greater then 1, which causes loop condition false and it ends before it starts.

Member Avatar for harinath_2007
-1
229
Member Avatar for Majestics

As java programmer know that program made under java are converted to jar file for usage... And an updation in any class require that jar to be updated. So is there any way that we can update the class file at runtime rather then whole jar file. I want to …

Member Avatar for NormR1
0
114
Member Avatar for ians_acess

[code] JOptionPane.showMessageDialog(null,"Yahoo\nHotmail\nGmail"); [/code] :) , Also urs one is correct.

Member Avatar for NormR1
0
180
Member Avatar for Ashley256

[code] tmodel.removeRowSelectionInterval(0,3); // Seems Wrong [/code] Because row selection can be more then total rows. Same for Add Rows.

Member Avatar for Majestics
0
89
Member Avatar for ericfrank

[code] line 6 SequenceFilesFromDirectory [/code] Last Error belongs to it, U have to make object first.

Member Avatar for NormR1
0
197
Member Avatar for muthu1802

What do u want to ask, referential integrity isnt any matter with java....Sql Classes in java load data according to query and you can show them in any table as you want.

Member Avatar for muthu1802
0
171
Member Avatar for carmzy

An abstract class is a class that is declared abstract—it may or may not include abstract methods. Abstract classes cannot be instantiated, but they can be subclassed. [url]http://download.oracle.com/javase/tutorial/java/IandI/abstract.html[/url]

Member Avatar for Um num num
0
168
Member Avatar for Majestics

i have added a picture panel in jscroll pane [code] scrollpane.add(pic1); [/code] now i want that on run time when user click on another pic panel it will be shown at pic1 scroll pane, so i simply use this code [code] scrollpane.add(pic2); [/code] but it doesnt work , so i …

Member Avatar for SamuelD
0
312
Member Avatar for asif49

// Use this constructor FileWriter("PATH",boolean append) i mean to enable append use FileWriter("PATH",true);

Member Avatar for asif49
0
109
Member Avatar for Pravinrasal

Try Birt Report or Jasper Report. U can also use oracle reports and crystal reports, Unless u want to create your own reporting software.

Member Avatar for Majestics
0
133
Member Avatar for Pravinrasal
Member Avatar for Majestics
0
160
Member Avatar for shan123456
Member Avatar for rotten69

Click the Src package u have made, i think you must clicked some library and running the application....

Member Avatar for rotten69
0
10K
Member Avatar for sirlink99
Member Avatar for laguardian

yes indeed its easy to create such things in java. You can also use vb.net and vc#.net. Search the basics from the internet and try posting code.... We cant help without code nor we can make your project. For Accomplisment check 1) JTable 2) Listener 3) JButton 4) JPanel 5) …

Member Avatar for jwenting
0
173
Member Avatar for JavaStudent101z

After a normal choice loop will bring you back to again selecting new choice state, so press 'X' to exit.

Member Avatar for NormR1
0
135
Member Avatar for Majestics

How to add flash objects in java without Java Flash Player Api? Any idea. Just hint required.

Member Avatar for Majestics
0
100
Member Avatar for Majestics

I want to change my email address from [email]greatmajestics@hotmail.com[/email] to [email]greatmajestics@yahoo.com[/email] , i want to recieve alerts on yahoo ID.. But when i tried to change it give me already present warning... It is requested to admin or mod to please correct this problem.

Member Avatar for Majestics
0
246
Member Avatar for syria718

Piece of cake [code] int a[][] = new int[2][4]; Define and SetSize [/code] You can google many example on 2D Array. Like [url]http://leepoint.net/notes-java/data/arrays/arrays-2D.html[/url]

Member Avatar for NormR1
0
139
Member Avatar for 47pirates

Yes, it is possible, google some example , i saw alot example when i was learning jtable... You can modify jtable according to your requirement.

Member Avatar for mKorbel
0
92
Member Avatar for PDB1982
Member Avatar for Majestics
0
141
Member Avatar for laguardian

[url]http://download.oracle.com/javase/tutorial/uiswing/components/dialog.html[/url] you dont need form , you need dialogue boxes.

Member Avatar for JamesCherrill
0
161
Member Avatar for yazz110

1) My fav book [url]http://www.amazon.com/Java-2-Complete-Reference-Fifth/dp/0072224207[/url]

Member Avatar for peter_budo
0
283
Member Avatar for thesimplestnick
Member Avatar for JamesCherrill
0
163
Member Avatar for Majestics

I have placed thread is alive in a loop , so when the thread finish its work so i will start another work.... but this makes program heavier. is there any other method [code] while(thread1 is alive) wait getvalue from thread1 and start thread2 [/code]

Member Avatar for Majestics
0
115
Member Avatar for Majestics

Is there any class for information providing box when i bring mouse over the object in java. I mean when i bring mouse over the combo box it display information about that combo box I cant load picture, seems some error in picture loading area.....

Member Avatar for mKorbel
0
101
Member Avatar for Majestics

I have connected java with oracle over lan, in connection string i have provided the IP address, now the startup is very slow, how can i make it fast, i have already asked the same question in java forum but no responce, so i thought oracle expertise can answer this …

Member Avatar for Majestics
0
239
Member Avatar for yazz110

1) Use code Tags 2)SortNow(); // No paramater 3)private int SortNow(int[] a,int i, int n) // Three Paramter You are calling a function which dont exist... Pass paramters or make empty paramter function.

Member Avatar for yazz110
0
159
Member Avatar for stevanity

[url]http://www.javalobby.org/articles/jtable/[/url] Read it, your concept will get clear.

Member Avatar for stevanity
0
146
Member Avatar for hamzamuradkhanh

[url]http://www.java-tips.org/java-se-tips/javax.swing/how-to-create-a-simple-browser-in-swing-3.html[/url] 1) Above is a simple web browser coding 2) Paste your code.

Member Avatar for teo236
0
183
Member Avatar for Dhanesh10

//opening Frame B [code] frameA.setVisible(false); frameB = new JFrame(); frameB.setVisible(true); //Or frameB.setVisible(true); [/code] // Closing Frame B [code] frameA.setVisible(true); frameB.dispose(); [/code] Just remove your title bar from frame B and provide a close button.

Member Avatar for Dhanesh10
0
119
Member Avatar for newcoder310

Yes , seems to like a bug, I have checked it.... But this wont effect your application, its a application dependent bug.

Member Avatar for JamesCherrill
0
88
Member Avatar for jpleas

Hahaha You must be kidding , no body will read this much for you... Make a small demo so we start helping you. Atleast divide them in small task.

Member Avatar for javaAddict
0
498
Member Avatar for presley tonde

If you want portability use java, java is good but it dont give platform dependent api, also we can use some bridges but slow in that case... C++ is best in case of platform depedency..

Member Avatar for Zaad
0
97
Member Avatar for HeyJoey

[code] //Wrong for (arrayPosition = 0; arrayPosition == cipherText.length(); arrayPosition++, letterPosition++) //Right for (arrayPosition = 0; arrayPosition < cipherText.length(); arrayPosition++, letterPosition++) [/code] You have used == instead of less or greater then symbol on line 29

Member Avatar for hfx642
0
231

The End.