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
~2K People Reached
Favorite Forums
Favorite Tags
java x 17
Member Avatar for rohit2

Hi, I am new to Grails and Groovy. Currently I am running tests of my application using the command grails test-app. Just like in Java, now I want to pass some parameters as command line arguments. Is it possible in Grails. If anyone has idea, please share it with me. …

0
87
Member Avatar for rohit2

Hi, I have a JTextPane and want to know if there is a way to get the (x,y) pixel position of the current cursor. I don't want the caret position that's from getCaretPosition(), but the pixel co-ordinates of where the cursor currently is. I'm using a variable width font in …

Member Avatar for Ezzaral
0
117
Member Avatar for rohit2

Hi, I am trying to create an editor using JTextpane. Now I need to show a dynamic pop up menu while pressing Ctrl + space. But the problem is that I can trigger the pop up menu only by right click of mouse. The code snippet that I used is …

Member Avatar for mKorbel
0
183
Member Avatar for rohit2

I have created a java application in which JTextpane is used as an editor. Now my problem is that when I select a block of text and press tab key, it automatically deletes the selected text contents. I don't expect these behaviour for my tool's editor. I need to add …

Member Avatar for mKorbel
0
273
Member Avatar for rohit2

Hi, Now I am trying to develop a tool using Java Swing. I have used JTextpane as editor of my tool. Now I want to add Content assist for this JTextpane ,so that I can easily type. My purpose is to provide listing of all objects and functions related to …

0
71
Member Avatar for rohit2

I am using a Jtextpane in my application. I want to switch to line number I want . How can I implement Goto line feature in java for jTextpane. please help....

Member Avatar for naief
0
88
Member Avatar for rohit2

I am using a Jtextpane in my application. I want to add line number in it. How can I do it. please help....

0
68
Member Avatar for rohit2

I am developing a tool using java swing. In it I have to read a .vbs file. I have used the following code for it. Scanner fileReader1 = new Scanner(new File(fileName),"US-ASCII"); while (fileReader1.hasNext()) { System.out.println(fileReader1.nextLine()); } where fileName is valid .vbs file path This is working only for .vbs files …

0
67
Member Avatar for rohit2

I am developing a tool using java Swing. I have used JFrame in it. Now I need to add a status bar into it so that I can easily identify line no in my jTextpane during typing in JtextPane. I am planing How can I do it? Can any one …

Member Avatar for Ezzaral
0
69
Member Avatar for rohit2

I am new to java Swing. I am trying to develop a tool, in which I used a Jtextpane as an editor. Jtextpane is enclosed in a Jtabbedpane to meet my requirement. But I have inserted the JTextpane in a Jscrollpane and then to the Jtabbedpane. Now, when I select …

Member Avatar for pbl
0
100
Member Avatar for rohit2

I am using JtabbedPane which contains several jTextPanes like jTextPane1,lTextPane2...etc. NOw I want to perform some actions during the selection of a partiular tab. eg: I want to enable a button if I select jTextPane 2.. Now I am able to identify selected Component of Tab.ie: jTextPane. But I am …

Member Avatar for ajst
0
98
Member Avatar for rohit2
Member Avatar for rohit2
Member Avatar for vealparry
0
87
Member Avatar for rohit2

How can we set a default path in our system to save a downloaded file in the "File Download" dialog box of Internet Explorer using a java program?

Member Avatar for masijade
0
75
Member Avatar for rohit2

Can any one help me how to make a Java Application GUI independent of screen resolution.. Now my application uses jFrame and it gets problems when resolution of screen changes.. plz help...

Member Avatar for masijade
0
203
Member Avatar for rohit2

I am new to swing. Now I am developing a frame with multiple tabs. For this I used jTabbedpane. Now the problem is that I am not able to save contents of seleted jTextPane of jTabbedPane. While saving, I am only able to save contents finally wriiten on jTextPane. So …

0
67