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

RichText-Demo is not working #194

Closed
reitffunk opened this issue Oct 21, 2015 · 2 comments
Closed

RichText-Demo is not working #194

reitffunk opened this issue Oct 21, 2015 · 2 comments

Comments

@reitffunk
Copy link

Hi,

I cannot start the RichText-Demo.

java -cp richtextfx-demos-fat-0.6.10.jar org.fxmisc.richtext.demo.richtext.RichText cannot find the mainclass and when I try to run it in Netbeans it says, that this part should only have one parameter:

private final InlineStyleTextArea<TextStyle, ParStyle> area...

Nevertheless I was able to get it to work with the InlineStyleTextArea, because of the code on the Startpage:

InlineStyleTextArea area =
new InlineStyleTextArea<>(new MyStyleInfo(), styleInfo -> styleInfo.toCss());

Best regards, Malte

@TomasMikula
Copy link
Member

Hi,

I see. In the latest sources I moved the RichText demo to its own package and updated the README, but that change is not yet in the release, so I should probably have waited with updating README. You should be able to run it with the old class name:

java -cp richtextfx-demos-fat-0.6.10.jar org.fxmisc.richtext.demo.RichText

@TomasMikula
Copy link
Member

The command now matches the class name in the new 0.7-M1 pre-release.

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

2 participants