Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #17.3K
Ranked #3K
~3K People Reached
Favorite Forums
Favorite Tags
java x 12

9 Posted Topics

Member Avatar for eranga262154

Hi , The problem is obvious, you are opening up a file for overwriting. so you need to open for appending. Use the FileOutputStream constructor that takes an additional boolen parameter e.g. [code]pri.store(new FileOutputStream("temp.ini",true), "Just a comment");[/code] It will work as expected. Also whenever you open up a stream do …

Member Avatar for riahc3
-1
2K
Member Avatar for sid99

Hi below regulary expression should solve your problem . it checks for integers as well as decimal numbers with or without exponent. [code] ^[+-]?([0-9]*\.?[0-9]+|[0-9]+\.?[0-9]*)([eE][+-]?[0-9]+)?$ [/code] it matches 23 , -17.e23 , +.23e+2. hope this helps

Member Avatar for sid99
0
87
Member Avatar for luxmi_gee

Hi , i could not completely understand what you wnat to achieve.However i will summarize what can be done. 1> you want to create custom component for desktop applications or applets then swings is the toolkit for you. 2>If you want to use custom components for browser based application the …

Member Avatar for mukulbhave
0
95
Member Avatar for abdulraqeeb33

Hi This problems occurs becuase of the data base and not your code. instead of MA Access and jdbcodbc driver try using mysql and mmmsql driver . The problem should not occur. Ms Access does not support concurrent access by 2 users . You care creating 2 conenctions to the …

Member Avatar for mukulbhave
0
138
Member Avatar for alpe gulay
Member Avatar for roryne

you need to resort to native code for such interaction .you can write the code to get information from os in c and then call that code from java using jni.

Member Avatar for mukulbhave
0
59
Member Avatar for alpe gulay

Yes you can use timing to pause inbetween. use the code below to have 3 seconds delay. System.out.println("Hi!"); Thread.sleep(3000); System.out.println("How are you there!");

Member Avatar for alpe gulay
0
136
Member Avatar for 1s2k3y4

you can use following syntax to get help for javac command [code]javac -help[/code]. To use options with javac you have to put a hypen and the option name like this.In the second command i have used a value for classpath option. [code]javac -deprecation Test.java[/code] [code]javac -classpath c:\myfolder -deprecation Test.java[/code]

Member Avatar for 1s2k3y4
0
173
Member Avatar for warjas816

Hi there were several problems in your code.just copy the code below and run it. make sure the file name you pass to the program exist. The fundamental problem in you progarm is you are not opening up the file that you input anywhere in the code. Hope this helps …

Member Avatar for mukulbhave
0
185

The End.