Hi
I have a jtable that has buttons, jtextfield, and check boxes in cell depending on the data. I had to extend defaultTableRenderer and extend abstractCellEditor to do this. Everything is working great except I can't seem to center the check boxes. I tried adding the line...
Hi
I am creating a file with the contents of a table. I have no problem writing the data to the file but is there any good way to format the data? I would like the file to contain columns. The length of the data in the table varies and I didn't have much luck playing around with inserting...
It depends what exactly you need it for. But you could use a grid layout and have one column of components. Or if you want to have more flexibility you could use the spring layout. Where you lay out components with respect to the location of other components. In your case you could set each...
hmm i really can't think of it off the top of my head...i know i have done it before in something. At work i'm using a different language every few weeks so it's hard to remember which one it was, sorry. If i think of it i'll post it.
thanks, that's what i figured i just wanted to double check and make sure there wasn't a way to create the array filled with a dummy value, (since you can do it other languages). thanks though i'll just loop through
i guess i wasn't clear i want to set every value in the array to 2. Like
int[] arr = new arr[5];
arr[0] = 2;
arr[1] = 2;
...
arr[4] =2;
obviously i could use a loop here instead...but is there any shortcut to doing this besides a loop?
I don't think there is a way to do this but i just wanted to check. Is there any way to fill an array with a value say the number 2 without looping through it?
thanks
to restart the thread i need to have the user type in a name on the dialog and hit ok. I played with the code and i can make the dialog finish loading but it's frozen when the thread waits...is there some way i can make the rest of the program freeze but still allow this one dialog to be able...
Thanks that definitely made some sort of difference. But the problem now is that everything freezes and myDialog didn't finish loading first, so i can't hit 'ok' to reactivate the thread. Any ideas?
Hi i'm new to threading and i'm having a difficult time. I have a main program and if a certain event occurs a new dialog pops up. I need the rest of the program to wait for the dialog to finish before it continues. Here's what i have started but it's not working and i'm not sure what to do...
Hi
I'm really new to all of this, I normally just program so if this question could be silly. So right now the server I'm working from is running access 97. I really want the system to be upgraded to 2000. However, the person running the server says it can't be upgraded unless we can find a...
well since i really only care if "By Year" is selected i can use the index of that option to check. This does work. It seems weird that it didn't work the other way but thanks for you time
it says: object doesn't support this property of method. It goes to the line
var selection = box.options[box.selectedIndex].value;
i printed out the value of box.selectedIndex and it was right it just doesn't seem to want to get the value
below is my code i eventually want to populate theyear with the values of the year which i will get from asp code. But i am getting errors with the code: options is null or not an object. what am i missing?
<FORM NAME="search" METHOD=GET ACTION="/KeyAndQuery.asp">
<select name = "querystr"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.