- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Hi everybody, I'm having an issue with using SAX parser. Some of the values between elements are not reading properly ie. partially. eg: <userNumber>+10117388488</userNumber> value here will be read as 17388488. But this is not happen every element of the xml file and only happen in few cases. Anyone have … |
|
Hi all, I have a JTable in my application. When I set data to a particular cell and hit enter key, cell focus will move to next cell of the same row. If my current cell is the last one of the row, then it will move to start of … |
|
Re:
Hello I have a jsp on which there is a table and a hyperlink to Export the same table into excel sheet. According to the functionality, it is required that on clicking Export, a blank pop up without address bar and other toolbars will be opened and on that empty … |
|
Hi all, I have a folder structure like this. dir1 ---> conf ---> a.txt dir1 ----> dir2 ---> dir3 ---> Test.java How can I read a.txt file from my Test class ? How can I use relative path there? File newFile = new File ( "<how to specify the path>" … |
|
Re:
[code=java] import java.io.*; class Factorial{ public static void main(String[] args) { try{ BufferedReader object = new BufferedReader(new InputStreamReader(System.in)); System.out.println("enter the number"); int a= Integer.parseInt(object.readLine()); int fact= 1; System.out.println("Factorial of " +a+ ":"); for (int i= 1; i<=a; i++){ fact=fact*i; } System.out.println(fact); } catch (Exception e){} } } [/code] Trying numbers … |
|
Hi all, I'm developing a drawing tool using Java. This will support drawing diagrams ( basically electrical components in a network ). As the drawing panel ,i have uesd a JPanel within JScrollPane so that user can scroll their diagram. The origin of my drawing panel is the top-left corner … |
|
If anyone has an idea how to draw a dashed line using Java?? Graphics class seems to be not support a function for this. Thanks |