Rob Camick wrote:
I am still using notepad for writing my code and using command line for compilation.) i will now download some Integrated Development Environment
Me too, I use a simple text based editor and a command line for compiling this does not prevent you for using standard intendation of your code.
How hard is it to type spaces or add a tab character at the beginning of a line?
Properly formatted code will make it much easier to read and understand your code, thus prevent silly errors like mismatched brackets and so on.
mark chester goking wrote:hi maneesh, yes you are right.
i was looking for a way not to do that kind of thing. what i did was add a variable inside the itemstatechanged instead so it wouldnt get executed
Rob Prime wrote:Moses, could you please use code tags next time?
Rob Prime wrote:Because check boxes only work for Booleans perhaps? You can add Strings to your TableModel all you want, just not for the check box column.
Ganesh Rayner wrote:Hi Rob Camick,
Thanks for the detailed response. I cannot use Swing utilities which is the part of java 1.6. For our application
we are using java 1.5. We have to stick with 1.5 for a while. I tried timer as mentioned in the Java Swing timers.
But not seems to be working. Currently i have created a seperate thread and updating the text pane. It is littlle
bit slow but seems to be ok. The only problem is light flickering is happening when i am updating the lines.Is it
possible to make the repaint state idle for while till i am updating.Because when the lines are getting added
Autoscroll should not happen. I have disabled that.But still flickering is there.Any thing i can do about that?
Once again thanks for the reply.I will be using Swing Utilities method when i am using java 1.6.
Priya Lavti wrote:yes, I am doing the same.
But even then the dialog appears on top of parent window after selecting the parent window.
The JDiaog window is still shown on top of parent window but is inactive state (i.e. not selected/focused). It hinders the view of parent window when doing any operation on parent window.