browsing through big amount of images with slider approach [closed] - java

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 2 years ago.
Improve this question
I have 1000 images, each of them signifies a state at the time step. I would like to create an application that allows us to use a slider move through time steps, eventually being able also to see some information about what is going on in the image (like region size ect). I created the algorithm which creates generates and analyzes images in Python and I guess I will try to create UI in Java. Any recommendations on how to approach it? ( I am not very proficient in Java but I understand the basics). I attached the general view of what I want it to be below:

Try Tkinter, it is a very easy to use UI creator in python.
https://docs.python.org/3/library/tkinter.html

Related

how to add new row to jtable in jframe in netbeans8.0.2? [closed]

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 5 years ago.
Improve this question
when key relese from the red marked area add new row.
First of all use a proper image description...
To your question: You can see the answer in your picture. You just have to edit the tablemodel (right side at the bottom). There you can insert a new row or a new column and put some test data into the table.
If you want to learn swing I wouldn't recommend to start with the GUI designer. Yes it's a very useful tool and probably the best GUI designer for Java atm but the downside is that you donĀ“t learn the basics of swing with that.
I would recommend to create some JFrames first via coding them by yourself and by recreating some good examples like this one: https://examples.javacodegeeks.com/desktop-java/swing/jframe/java-jframe-example/
or this:
https://docs.oracle.com/javase/tutorial/uiswing/learn/index.html

Set Variable as Name of JLabel [closed]

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 6 years ago.
Improve this question
I'm trying to create JLabels in a loop and remove them at the End. So I need to give every Label its own name (Like Label[1], Label[2],...). I'm very new to Java so I can't imagine how to solve this problem. I already tried different ways but they all didn't work.
I am not sure but you can add a number of anonymous objects(in this case they will be JLabel or Label) to the Array List without naming them.(You need to use for loops). If you want to delete them, you need to use the same logic.
Let me know this works or not. If you stuck again, I can help you by writing the code. However, writing yourself will be more beneficial for you.
Have a nice day !!

JavaFX Glass shatter / crack and break [closed]

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 7 years ago.
Improve this question
Does anyone have any suggestions as to how I can go about creating an Effect for a JavaFX node that can simulate glass shattering and then (potentially) breaking? if the breaking is more difficult, I can skip that part. Basically I want to layer this pane over an image and then make it look like its a picture frame that then shatters. If it can then break into pieces (after some configurable delay).. that would be great as well!
I've looked everywhere but can't seem to find info on simulating the glass shatter effect in JavaFX.
Thanks!
For a simple solution I'd go with a Path that randomly extends and change the style of the path during time.
More sophisticated code could use a Canvas and paint the shattering on it. Daniel Shiffman with his Nature of Code book may be a base for you with the creation of the shatter effect.

How to construct a JTextArea [closed]

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 9 years ago.
Improve this question
I am a very new programmer, it is part of my degree requirements and I am having a hard time with it. I am working on basically a three part GUI and I am wondering how I would create a JTextArea that will display each item that is entered.
Start by taking a look at Creating a GUI With JFC/Swing, this will give you a basic grounding in how to use Swing.
Take a closer look at How to Use Text Areas for specific details about how to use JTextArea

How To Always Check For Inputs [closed]

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 8 years ago.
Improve this question
Basically what I am asking is how do games check what the user inputs all the time, not just when the user is asked to input an integer or a word but I am ALL the time.
Example: Runescape, Minecraft, WoW, any game developed that uses text based communication always has that function that if you type in the pretty box it spits out what you said in a world chat box, how do I do that as such (Not a world chat box) but simply a put out.
Simply put, by polling. Games use loops which run 20+ times a second and check for whether the user is causing input via keyboard/mouse.
There are hundreds of great tutorials

Categories

Resources