No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
hi i use log4j for logging i want the file that logs append to it , in every day be separated .for example my logs for today input in 2010-04-20.log and tomorrow in 2010-04-21.log file!! or any way that i can understand that this log file related today and that …
hi I use log4j framework for logging my program. i insert log4j.xml in my project an test it. everything was ok and logfile correctly was put in path. but when i made jar file and copy it to linux and run it it return error [CODE]log4j:ERROR Could not open [log4j.xml]. …
hi i have radio button in jsp i want check that radio is selected or not!! [CODE] <input type="radio" name="code1" value="1" > [/CODE] how can i check in input that radio is selected or not!! for example put if in input [CODE] <input type="radio" name="code1" value="1" <% if(?)%>>[/CODE]
you can close frame with this [CODE]frame.dispose();[/CODE] its better that you locate [CODE]frame.setVisible(true);[/CODE] in last line, such az this in your code [CODE] public static void main(String[] args) { JFrame frame = new JFrame("Password"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setSize(100, 100); frame.setVisible(true); } [/CODE] and locate this in constructor [CODE] JLabel label = new …
The End.
Mandana_bgh