| View previous topic :: View next topic |
| Author |
Message |
Michael Aresti Guest
|
Posted: Wed Mar 29, 2006 4:04 pm Post subject: JdbTable problem |
|
|
Hi,
I have a question - did anyone tried to change the ToolTipText that is
showing when you press right mouse button on the table. I'm from Poland
and I need to print polish version of this commands...
For example "Sortuj wg" instead of "Sort by", "Wstaw nowy rekord"
instead of "Insert new row".
Any help is appriciated.
Michael Aresti |
|
| Back to top |
|
 |
Olaf Raether Guest
|
Posted: Wed Mar 29, 2006 8:04 pm Post subject: Re: JdbTable problem |
|
|
Michael Aresti wrote:
| Quote: | Hi,
I have a question - did anyone tried to change the ToolTipText that is
showing when you press right mouse button on the table. I'm from Poland
and I need to print polish version of this commands...
For example "Sortuj wg" instead of "Sort by", "Wstaw nowy rekord"
instead of "Insert new row".
Any help is appriciated.
Michael Aresti
|
I think you are talking about the PopupMenu.
In this case you can do two things:
1. Override the method
protected JPopupMenu createPopupMenu() {
...
}
from JdbTable
2. You have to create a class
package com.borland.dbswing;
public class ResTable_pl extends Res.Table {
...
}
and add it as lib to your project.
i hope that you have the enterprise version of JB. Then you can take a
look at the source of ResTable.java. In my German version there is a
file ResTable_de.java. So i guess my hint with ResTable_pl << check
'pl' for Poland is hopefully right.
Hope this helps.
Olaf Raether |
|
| Back to top |
|
 |
Michael Aresti Guest
|
Posted: Thu Mar 30, 2006 5:03 pm Post subject: Re: JdbTable problem |
|
|
Olaf Raether wrote:
| Quote: |
In this case you can do two things:
1. Override the method
protected JPopupMenu createPopupMenu()
from JdbTable
2. You have to create a class
package com.borland.dbswing;
public class ResTable_pl extends Res.Table {
...
}
and add it as lib to your project.
|
Thanks for information - I'll try them ( I think the second option will
be much more easy to do it for me ).
Thanks once again.
Michael Aresti |
|
| Back to top |
|
 |
|