Questions tagged [jcurses]

The Java Curses Library (JCurses) is a library for developing text terminal based applications using Java programming language.

The Java Curses Library (JCurses) is a library for developing text terminal based applications using Java programming language. It is implemented as a Windowing toolkit similar to AWT, but built upon the UNIX "curses" windowing system.

12 questions
12
votes
1 answer

How do I set up a Jcurses library?

I am trying to use the Jcurses library for coding a Rougelike. I was wondering how specifically I should set up Jcurses so that I can compile and write classes that access it. (I'm using Windows.) So far I have tried including the library in…
user1907057
  • 121
  • 1
  • 5
2
votes
2 answers

Reading from keyboard without pressing "enter" using JCurses

I am writing an application that requires me to read a key from console without having to wait for the user to hit enter. I have read that JCurses library could help. I tried using Toolkit.readCharacter() like this: InputChar c =…
Marwan Tushyeh
  • 1,505
  • 4
  • 24
  • 47
2
votes
1 answer

How to use JCurses in IntelliJ?

I would like to use the JCurses Library with IntelliJ IDE but I have the following error message : "Error opening terminal: unknown." My code : import jcurses.system.*; // Test Jcurses Toolkit.init(); My Config : VM Debian 8.7 64-bits with…
ManWithNoName
  • 381
  • 1
  • 6
  • 20
2
votes
1 answer

Java Eclipse JCurses Library doesnt work after hours of triing of fixing it

Greatings, i hope you guys outthere can help me to solve my problem. i've try to setup the Jcurses Library but the result of it was just starting the cmd.exe without any content there was only the path of the workspace. I readed a lot of howtos but…
2
votes
0 answers

JCurses colors not working

I'm just getting started developing my first console application with JCurses. So far I can get a window to display with a couple buttons, but there is no visual differentiation between the focused and unfocused buttons. It appears from the source…
Brad Mace
  • 27,194
  • 17
  • 102
  • 148
1
vote
3 answers

How to use jcurses from groovy

I just tried to use JCurses from within Groovy, but I always get the following exception: Caused by: java.lang.NullPointerException at jcurses.system.Toolkit.getLibraryPath(Toolkit.java:97) at …
rdmueller
  • 10,742
  • 10
  • 69
  • 126
1
vote
1 answer

How can I prevent the command line from being interrupted by printing lines?

I've been tryna find an answer to this for a while but I'm a newbie with little hope left lol In Java, I have two threads right now: (main class) Thread A has a while loop listening to commands with Scanner.nextLine() Thread B prints out "test"…
1
vote
0 answers

UnsatisfiedLinkError using jcurses

I'm trying to make a program that uses jcurses as an external library. Every time the program runs and tries to use Toolkit, I get this error: Exception in thread "main" java.lang.UnsatisfiedLinkError: …
Freelix2000
  • 67
  • 1
  • 4
1
vote
1 answer

How to use JCurses in Eclipse

I'm trying to develop a program that simulates the Terminal in Linux. My problem is that I can't clear the screen in the default Eclipse console. After a lot of searching, I've found a library called JCurses that can do the task. But I can't get it…
Islam Hassan
  • 1,736
  • 4
  • 26
  • 42
1
vote
1 answer

How to work with Scala and Jcurses?

I want to use Jcurses with Scala on a 64-bit Ubuntu. Unfortunately i didn't find any tutorial about this subject. Can anybody help me! My test program "testjcurses.scala" import jcurses.system._ object TestJcurses { def main(args:Array[String])…
pommfritz
  • 15
  • 3
0
votes
2 answers

jcurses errors while try to import in IntelliJ

I`m trying to import jcurses library to IntelliJ but get an error. File -> Project Structure -> Modules -> import jar file. Then in code: import jcurses.widgets.Window; class main { public static void main(String[] args){ Window win = new…
0
votes
2 answers

making pdcurses work with C++ Builder

Anybody knows how to integrate Pdcurses with Embarcadero C++ Builder ? I've added the library, pdcurses.lib to my project and I've added the pdcurses.dll in the deployment section. but whatever I might do, I still got a link32 error.
user1508332