Results 1 to 4 of 4
- 03-06-2012, 07:37 AM #1
Member
- Join Date
- Mar 2012
- Posts
- 11
- Rep Power
- 0
How to change jTable and jMenu direction's to right-to-left
Hi everybody,
In Netbeans i created a java desktop database application(file menu->new project), then Netbeans generated a jTable and a jMenu which are left-to-right in direction, now i want to make them right-to-left but at the property window i can't see any option to make them it right-to-left. Your help would be appreciated.
- 03-06-2012, 03:44 PM #2
Re: How to change jTable and jMenu direction's to right-to-left
Dump the NetBeans visual designer. You lack the fundamental knowledge of Swing that would give you the ability to use it.
Do you know how to set LTR in code? Do that.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 03-10-2012, 06:04 AM #3
Member
- Join Date
- Mar 2012
- Posts
- 11
- Rep Power
- 0
Re: How to change jTable and jMenu direction's to right-to-left
I added the following line of codes which for the jMenuBar it is working but with jTable it is not working.
1. myTable.setComponentOrientation(ComponentOrientati on.RIGHT_TO_LEFT);
2. myMenuBar.setComponentOrientation(ComponentOrienta tion.RIGHT_TO_LEFT);
Please help to change the direction for the jTable header and body.Last edited by zabltn; 03-10-2012 at 07:28 PM.
- 03-12-2012, 09:47 AM #4
Member
- Join Date
- Mar 2012
- Posts
- 11
- Rep Power
- 0
Similar Threads
-
Can´t change selected/pressed Icon of a JMenu
By Valhallon in forum AWT / SwingReplies: 3Last Post: 07-08-2011, 10:16 PM -
Reversing dojo slider to make it slide from right to left rather left to right as giv
By gurpreet.singh in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 05-05-2011, 01:49 PM -
square moves left and down but not up or left
By natdizzle in forum AWT / SwingReplies: 3Last Post: 02-04-2011, 05:20 PM -
JTable column header sorting direction arrows and row selection on focus loss
By r00tb33r in forum AWT / SwingReplies: 1Last Post: 07-28-2010, 03:46 PM -
How to change data in jtable?
By chandu.v in forum AWT / SwingReplies: 2Last Post: 07-01-2008, 09:46 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks