Giter Club home page Giter Club logo

Comments (6)

manticore-projects avatar manticore-projects commented on September 3, 2024

Also the Java Samples are misleading now.
Only the Kotlin JeditMain App works correctly on Linux + Java.

Would you like to receive a PR on both issues?

from jediterm.

segrey avatar segrey commented on September 3, 2024

@manticore-projects Thanks for spotting this. Fixed by 8372a7f

As for the Java Samples, I've just checked it on Windows and both com.jediterm.example.BasicTerminalExample / com.jediterm.example.BasicTerminalShellExample work for me. Could you please describe your problem with samples in a new issue first? (Yes, PR are always welcome.)

from jediterm.

segrey avatar segrey commented on September 3, 2024

Closed as fixed

from jediterm.

manticore-projects avatar manticore-projects commented on September 3, 2024

What I meant is:

  1. the Kotlin Std. lib needs to be included, else the Resizing does not work (although there is no error message).

  2. you deprecated some code which I found from the Kotlin example. But the Java example still shows the old, deprecated code.

from jediterm.

segrey avatar segrey commented on September 3, 2024
  1. Yes, kotlin-stdlib:1.9.0 should be included by clients. Usually, it happens automatically as jediterm-core exposes its runtime dependencies in pom.xml.
  2. If you meant UIUtil, I will update its usages, thanks for spotting. If it's something else, please share a link to deprecated code usage.

from jediterm.

manticore-projects avatar manticore-projects commented on September 3, 2024
  1. Yes, kotlin-stdlib:1.9.0 should be included by clients. Usually, it happens automatically as jediterm-core exposes its runtime dependencies in pom.xml.

Correct, but this works only recently with the Maven Artifact.
Before I had to copy/link the local libraries and I skipped most (JNA, Logger etc.) because I had those in my own dependencies already.

Basically it's all about my bias: I though Kotlin compiles into Java Class and so would not be needed for the JAR files.
But since you are converting to Kotlin now, this assumption does not hold.

2. If you meant [UIUtil](https://github.com/JetBrains/jediterm/blob/a7670d96cfc65e49f5214750ec5259ca5a9f49eb/JediTerm/src/main/java/com/jediterm/example/BasicTerminalShellExample.java#L32), I will update its usages, thanks for spotting. If it's something else, please share a link to deprecated code usage.

Yes, this one exactly.

Thank you a lot for helping! Cheers!

from jediterm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.