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

Getting rid of javax.swing #2

Open
DyspC opened this issue Sep 23, 2020 · 5 comments
Open

Getting rid of javax.swing #2

DyspC opened this issue Sep 23, 2020 · 5 comments

Comments

@DyspC
Copy link
Owner

DyspC commented Sep 23, 2020

This thing is atrocious and using an up-to-date graphic lib would help when something needs to change (probably something like JavaFX but I hate GUI tinkering and I don't know what's trendy and well supported, tell me if you think of something better)

The deconstructed window is:

  • 2 text panels ('In' of the left and 'Out' on the right, 'Out' being read only)
  • 3 buttons below, triggering actions with the content of the text panels (probably both) and updates the 'Out' one
  • The vertical carets are somehow synced so that when processing some long text corresponding lines stay at the same level (the chorus button breaks it)
  • resizable but looks like shit and resizing makes it worse
@bharati-21
Copy link

Hey, @DyspC could you please explain more about the project that the window will be a part of?
Thank you!

@DyspC
Copy link
Owner Author

DyspC commented Sep 26, 2020

Hey @bharati-21,

Yeah sure, I'll write a README today or tomorrow that I can use for #1 but TL;DR this takes japanese song lyrics and splits the syllables to make karaoke syncing quicker (hence the 'text can be long' carret problematic).

@DyspC
Copy link
Owner Author

DyspC commented Sep 28, 2020

Hi @bharati-21,

Sorry I'm a day late but I'm done with the readme. If you have more questions you can ask them here.

@bharati-21
Copy link

@DyspC thank you for informing me that you've updated the README file. Could you please tell me what this issue is about? Do I have to build a new window from scratch maybe using JavaFX?

@DyspC
Copy link
Owner Author

DyspC commented Sep 28, 2020

That's the main idea yes.

I've never used JavaFX but I think relying solely on the well documented jdk libs instead of a window composer would cause less trouble when I will try to add functionalities.

I tried to publish a github release of the app but my jar is rejected, here's an external link if you want a quick look https://transfer.sh/IABBV/LyricsPrimer_v2.15.jar

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

No branches or pull requests

2 participants