Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
Is it possible to have event driven programming moving objects or characters in a cmd screen. And how?
For example a chess board when you do a move then we have to print for each move. We want to play it only one chess board.
Thanks..:)
It's very hard to make out what you're asking, but I think I hear two different questions:
Is it possible to do event-driven programming in assembly language?
Yes, it is. In fact, quite a lot of assembly-language programming is event-driven (handling interrupts and such).
Is it possible to write to specific parts of the console display rather than just outputting a stream of characters that scrolls?
Yes, on nearly all consoles. How you do so varies a bit by console. You could look into ANSI escape codes or similar, which work on a wide variety of console displays.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 months ago.
Improve this question
I'm developing a program that need to display 3 real time graphs, currently I'm working on IntelliJ but if needed I'll move to another IDE like NetBeans, I've been searching some options but I have no clear idea of the direction what would be the best for this kind of aplications.
This will be running on a windows bases enviroment
My observed options are trying JFreeChart but seems to be not so good for the real time nature, I haven't been able to find much documentation of JavaFX with this kind of application and idk how the java.awt.Graphics would work
If you are interested in real-time charting then you should have a look at this library: https://github.com/fair-acc/chart-fx
But doing real-time charts is more than just drawing something. It also involves data acquisition, data reduction, etc. You should do some research first in order to find the best solution for your specific problem.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to make an Alphabet Letters Tracing game for kids, I don't have that much idea where to start and what library to use how to make it trace. I have basic knowledge about android java programming this project is for personal use and to expand my knowledge on creating android apps.
Is there any 3rd party software?
THANK YOU very much in advance.
You could have an ImageView holding the letter image with dashed lines, then create for example 20 more images with each dashed line being filled in with the letters colour. Setting up an xml DrawableAnimation you could sequence through the images of the lines being slowly filed in for them to trace. Although this may be the easiest way, it's not the smoothest, or most efficient. But gets the job done.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I have looked around, and there are no solid guidelines to converting Object Orientated C++ to Java. Most are references to conversion tools.
My question is what are the steps one should take to not get overwhelmed and lost, especially for heavily OO projects.
For example, given one method that accomplishes a task. That method is called, which is dependent on several other cpp, and those helper methods are also dependent on other cpp files, and so on. How should this be addressed?
What are techniques that can be used to break it down, while properly combining .hpp and .cpp?
I understand JNI can be used, however, it is desired to have only Java code, unless something can literally only be done in C++
Tips, suggestions, and ideas will be much appreciated.
PLEASE do NOT mark this as a DUPLICATE, there are only questions posted in respect to specific code, or using conversion tools, not for general techniques.
Also, if this is a terrible question, let me know, I'll take it down, no need to thumb it down. Thank you.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I have heard sometimes that the front end of a program was written in language A and the back end in language B. Can i do it for desktop programs I make too? Like do the graphics with Java and the back end with C or C++. How do i do it?
PS. Sorry if its a newbie question because I am one.
edit 1
Because i am told that my question is too broad, here is what I exactly want. How can I link mt action listener in java with a C program? For example, if i have a button "next hundred primes" i want the button to be made in Java and primes calculated using C.
This can be done in one Java process with JNI, for example. Java effectively calls C++ as a library.
This can also be done multi-process by having Java process create a C++ process then capture its output as, for example, C++ process exit code, standard output or created file.
A third way to do this would be to have a long-running C++ process listen on a TCP socket then have the Java program communicate with its C++ back-end over the network, either on the same machine or across an intranet.
Other methods also surely exist. These are just a few I know off the top of my head. :)
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Greetings!
I was wondering if it's possible to make music-based games in Java? I've played games like Beat Hazzard and Audiosurf and stuff like that and I was considering making one like that - that dynamically loads songs the user selects and finds pieces of information (like bass notes) and does something in return.
I don't even know where to start, but I have found ways to play music (through certain classes others provide or the Java Sound API). Anybody ever done anything like this before? Any help is appreciated.
Of course it is. I think the term you should be Googling for is Java Signal Processing and analysis.
There is a related SO post on this as well as numerous other Java libraries and source examples (see the Google search results from above.) Here is a page with applets that perform a variety of signal analysis. Might not be exactly what you need but should be a start. And MARF, from the SO post mentioned above, looks VERY promising!