Arvind Popli

Greenhorn
+ Follow
since Jul 30, 2001
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 Arvind Popli

When u get the record data from the datafile, just trim the field values of spaces. This should get rid of the squares u get in the GUI.
-Arvind
Hi guys,
JEditorPane works fine and displays images too. There was no need for the HTMLEditorKit !!!
-Arvind
Hi guys,
I am able to display the HTML files via HTMLEditorKit showing in a JEditorPane, but the images in the HTML file does not show up ?
Any ideas as to how to display the images in the HTML files would be appreciated.
Thanks,
Arvind.
Thanks Peter, Matthew and Luis for the information. I shall definitely look into it.
-Arvind
Hi,
Do anyone of you guys have encountered this problem:
CASE: When the Client A trys to lock a record (on the remote server) and that particular record is locked by some other Client B, the first Client A request thread is put on wait/hold.
PROBLEM: Now the problem is that- the Client A's screen is unable to refresh. Only when the lock on that particular record is released by Client B and all the waiting threads are notified, then the Client A's screen is able refresh and display's the correct messages etc...
QUESTION: How can the Client A's screen be still be refreshed even when it is waiting for the lock to be released ?
The locking/unlocking works perfectly on non-GUI clients.
Thanks,
Arvind
Hi Jim,
>Do the methods lock, unlock in DatabaseImpl implement the methods in Database interface or do they override the methods defined in Data class?
Database interface has only method definitions of lock, unlock. And as DatabaseImpl class extends Data class it overrides those methods. (Data class has empty lock and unlock methods).

>If you removed lock, unlock and other methods from Data class that are defined in the Database interface, the it would be no confusions.
U are right, but my point of doing this is that I do not want to touch/modify the Data class methods, with one exception of changing the Data class for removing the deprecated methods.
Lemme me know if this helps.
-Arvind
[This message has been edited by Arvind Popli (edited August 02, 2001).]
[This message has been edited by Arvind Popli (edited August 02, 2001).]

Originally posted by Jim Dong:
Arvind,
in your message, your design is:
<bold>
- DATABASE functionality: (database operations)
*Database interface -> which has definitions of all the public methods of the Data Class along with lock, unlock and criteriaFind method definitions.
*DatabaseImpl Class -> extends Data class and implements the Database interface. Overrides lock, unlock methods and implements the criteriaFind method. (so basically I do not change anything in the Data class).
</bold>
I have a question:
Since your Database interface AND Data class both have lock/unlock and criteriaFind methods, how do you extend Data class and implement Database interface at the same time for DatabaseImpl class? Please clarify a little bit.
Thanks in advance.
[This message has been edited by Jim Dong (edited July 30, 2001).]


Hi Jim,
Database interface just has lock,unlock and criteriaFind method definitions along with other public method definitions of the Data class. And DatabaseImpl class extend Data class and implement Database interface:
public class DatabaseImpl extends Data implements Database {
}
-Arvind