view my last post on this. I had a similar problem with Kawa. For some reason it works perfectly well in debug mode. I think it's just slow cause if i made it sleep for about 100 millisecnds it catches up, otherwise no. Just run it not using Kawa.
I followed the direction on sun's site how to create executable jar file but i didn't get far i get an error when trying to run the jar file. What i did was after creating jar file i modifed the manifest file to have an entry for Main-Class: myClass but when running the jar file i get no main class is found. What can cause this? Can this be effected by a classpath ? Do i have to include a classpath information into manifest entry? Thanks.
The thing is i want to know if the lock was successfull. Lets say i want to do what you just said . Lock the record then readRecord before i can do reading i must make sure that i locked it right ? How would i know that lock was placed there is no where for me to find out. Lock has no return type.
Hi , i have a question. Let's say i let the client call lock/ unlock. How would i know that the lock was successful. So that i can show him a dialog later on where he can choose number of seats too book. thanks
why would i need to call getRowCount method for ? And where would i assign it. I think model calls it itself or you can overide it when you implement it for some other logic.In my case i would think that getRowCount should be called by setDataVector to allocate number of rows to build for a table. But it doesn't do it.
hi i am using TableModel and assigning object of array. everything is fine. Now when i want to update my table model with new data i issue setVectorData() method with appropriate parameters. Data get's refreshed but the number of rows it previousely had remains. How can i make it so the number of rows will be same as data held. thanks.
hi , i need to implement a callback in one of my routines. I have a qui with a button which does a search. Now when the user pressed the button i want it to pop dialog. Now on that dialog i allocated an array and when a user clicks ok on the dialog i somehow must send that information back to that routine. How can i make that routine wait for the information ? thanks.
hi i have used a Model for JCombobox because i need to have 2 comboboxes with identical data. This part works fine. What i don't like is when i select an item both comboboxes select same item. How can i have so that only one will be selected since model is shared ? Any thoughts ? thanks.
sorry to post this again , i found the answer to the problem. Apperantly it was caused by Kawa's IDE. I didn't payed attention much to it , but i started to run in DOS and i gotten corrent results , if i run it in Kawa i only get one record.
have you experienced any problems with getRecord(n) method ? Please try it calling it 2 times in a row. I am having a problem with it it only returns one search and doesn't do anything for a second call. Unless there will be a time out for me. thanks.