ComponentOrientation problem
when i set the table to table.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
the swingbit UI stops working
I would need more specifics to investiagate
what specifics do you refer to? i have a JTable that is populated from an mySQL database. the default orientation for any component is LEFT_TO_RIGHT. but since here we use a RIGHT_TO_LEFT i had to change the table orientation to RIGHT_TO_LEFT. when the table is at the default the UI works great i right click on any column and the filter UI opens. when the table is setup to be RIGHT_TO_LEFT nothing happens when i right click on the columns.
Who is this ???
Sent from my iPhone
On 29-Aug-2015, at 12:06 pm, amirshaneh [email protected] wrote:
what specifics do you refer to? i have a JTable that is populated from an mySQL database. the default orientation for any component is LEFT_TO_RIGHT. but since here we use a RIGHT_TO_LEFT i had to change the table orientation to RIGHT_TO_LEFT. when the table is at the default the UI works great i right click on any column and the filter UI opens. when the table is setup to be RIGHT_TO_LEFT nothing happens when i right click on the columns.
— Reply to this email directly or view it on GitHub.
After some digging in the source code i have found a couple of hints but yet to resolve this issue.
- i verified that when pressed it does send command to the listener that isPopupTrigger
- and the big success was that i found out that if i resize the column width to be big enough then it actually does work. so i went further and im pretty sure the issue is being caused from the popup menu itself, ill try to dig in for it more later on, would be nice if i can get some assistance with solving this issue.
as for your question i'm just a stranger that wants to get this modification work for RIGHT_TO_LEFT table since here we are using RIGHT_TO_LEFT.
i'm sure the solution will benefit many others and not just myself
Regards. Amir