Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ComponentOrientation problem #42

Open
amirshaneh opened this issue Aug 28, 2015 · 4 comments
Open

ComponentOrientation problem #42

amirshaneh opened this issue Aug 28, 2015 · 4 comments

Comments

@amirshaneh
Copy link

when i set the table to table.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);

the swingbit UI stops working

@eugener
Copy link
Owner

eugener commented Aug 28, 2015

I would need more specifics to investiagate

@amirshaneh
Copy link
Author

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.

@enaamks
Copy link

enaamks commented Aug 29, 2015

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.

@amirshaneh
Copy link
Author

After some digging in the source code i have found a couple of hints but yet to resolve this issue.

  1. i verified that when pressed it does send command to the listener that isPopupTrigger
  2. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants