geeta khurana

Greenhorn
+ Follow
since May 18, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by geeta khurana

Hello Manfred,
Thanks for ur reply. I'm using the folloing code to remove all the columns from the table:
for(int i=0;i<iColCnt;i++)<br /> {<br /> TableColumn TC = ivjtblResults.getColumnModel().getColumn(i);<br /> System.out.println("Removing col no. " + i);<br /> CM.removeColumn(TC);<br /> <br /> }<br /> iColCnt is the no. of columns in the table.<br /> I have 4 columns in the table initially and as soon as it reaches column 2 it gives the ArrayoutofBound exception 2>=2.
I tried doing with (iColCnt - 1) but still the same problem.

Thanks.
22 years ago
Hi,
I have the results from a query and have dynamic no. of rows and columns. So, in order to populate the table, I need to delete all the previous rows and columns. Removing all the rows is fine but when it comes to removing all the columns from the table, I get the exception,
"java.lang.ArrayIndexOutOfBoundsException: 2 >= 2"
Can some one pls help me out of this.
Thanks.
22 years ago
Hi,
I am trying to draw a rectangle with rubber band effect on a swing JComponent. If I draw the rectangle in the mousedragged event of the component, it draws the rectangle with flickering effect. Also, if I include the code in the paint method and call the paint() method through update(), it doesn't go to the paint method at all. I use the paint method for painting a selected component. In the later case, I have used the example to draw the rectangle from Java help. I am enclosing the code here with. Pls help me out. I know, its tedious to go through the code but pls help.

The second approach
--------------------------------------------------------------

ps:
Please use the [ code ] opening and closing tags (without the spaces) when posting source code. I edited the msg for now.
Thanks for your cooperation.
regds.
- satya

[This message has been edited by Madhav Lakkapragada (edited July 09, 2001).]
22 years ago
Thanks Tom. I could do it. Earlier I was trying to add the buttongroup to the panel which was not being accepted. Now I added the buttons to the buttongroup and then added buttons to the panel.
Thnx
22 years ago
I have a group of JRadio buttons and I want to add the group in JPanel. Is it possible to do it? If yes, pls help me out.
Thanks
22 years ago
Hi,
I want to pass the status of chekboxes from one JSP to another using javascript. Through querystring, i am able to pass other parameters but how do I pass the controls of the form. Can i send the controls of the form from one JSP to another like ASP. Pls help.
Thanks.
22 years ago