No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
9 Posted Topics
Re: 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 … | |
Re: 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 | |
Re: 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 … | |
Re: 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 … | |
Re: 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. | |
Re: 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!"); | |
Re: 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] | |
Re: 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 … |
The End.