I am working on an application and want to use MaterialFX's dialog windows. I previously used JOptionPanes that were easy to code and did not require direct use of Scenebuilder/Java FX.
I looked through the author's github, Palexdev, and found this:
https://javadoc.io/doc/io.github.palexdev/materialfx/latest/MaterialFX/io/github/palexdev/materialfx/dialogs/package-summary.html
But I am still having difficulty creating them, so if anyone could point me in any direction that would be great. Thanks
Related
Sorry if the title is it's not self explanatory.
I'm trying to make an application that can interact with other ones by adding them a graphic element in their UI.
Just like Google does with Google Translate new function.
You can see a graphic example here: EXAMPLE GIVEN
My questions are:
Is that even possible? (I guess it is)
Where can I start searching about this? I haven't seen anything in Androids Developer documentation. I really don't know how to search info about this.
Thank you all.
If you'd like to add a graphic element to your app, I suggest using the Toolbar widget (it's automatically added with the Basic Activity template). There's also the ActionBar, but I think the toolbar is preferred to use (newer).
You can get a better idea about it here.
https://blog.xamarin.com/android-tips-hello-toolbar-goodbye-action-bar/
http://www.101apps.co.za/index.php/articles/using-toolbars-in-your-apps.html/
As far as the behavior of the icons, you'll have to add your own logic to them. Intents (implicit/explicit) are one way to interact with other things.
I hope this helps push you in the right direction.
I'm developing a java swing application in which i need to show the map of some area and allow user to put markers on it.
I've goggled a lot on the topic but unfortunately i haven't got any how i can do it.
I came across some ideas like displaying a web browser in swing just like JXBrowser (i can't afford JXBrowser).
And i'm also not sure if this way will allow me adding markers.
Please guide me some proper way to do the trick.
Please do tell me if i can do it offline or online any way suitable.
Have you looked at OpenStreetMap? In particular JOSM
I am creating a Java desktop application where the user will enter his name and age and press next, like given below in image 1.
And the action would perform would be like given in the image below in image 2.
I went through all tutorials on the Netbeans site, but still I was not able find any solution. I want to build this application like what we see when we install some application on Windows, we select some option and press next and a new window will appear with the result or more options. Please somebody help me with step by step instruction.
I don't think you'll get as much out of "step by step" instructions as you will going through the tutorials and learning not only how to do what you're desire, but the whys and hows of what you're doing. That being said, you will want to go through several of the Java Swing tutorials to learn how to do this including
the CardLayout tutorial to see how to swap JComponents in a GUI.
The JTextField tutorial to see how to interact with JTextFields
The JButton and ActionListener tutorial to see how to interact with JButtons and how to respond to their presses.
Much of learning to code means independent study and much trial and error. So start experimenting and have fun doing so!
As the above answer says, the CardLayout is a one way of doing this. However, in my case, I find that cardlayout is bit difficult for me. So, what I do is, creating JavaBeans, which extends JPanel, in this case. So you can add them to the main view and dispose/replace with another JavaBean, making different "Next" views. This way will help you to seperate your code into several classes, making the code simple too.
This article contains more or less a step-by-step tutorial on how to create a wizard in Swing. But before you start with that article make sure you have some basic Swing knowledge or that article will be complete Gibberish
You can use installation wizard creator tool for make a setup of your java application
for examaple you can use
"Setup Factory" tool for create a install exe of your application
it make a installer like that which you in your quetion
Is there a library out there that can facilitate in creating assist or automated guide that tells users what action to take?
Like it should notice the user is running the software for the first time so it will say click this button, and when the user does, it will explain other features.
sort of like what Youtube's video editor does but I wonder if this is achievable in swing.
I don't know what you call this...but below is a good example to aim for but something that works for Java Swing.
http://jeffpickhardt.com/guiders/
I would do this using JPanel or image and mouse events by setting their visbility properties. I haven't tried it but, I think I can...
I used these libraries which are for rich applications
http://java.net/projects/animatedtransitions/
http://java.net/projects/timingframework/
let me know if you found anything new.
thanks
from
vinay
I'm making a small game in Java and would like to add a Quake 3 style of console to the game, that supposed to appear when toggled. Is there any implementation or any similar embedded console you folks know of?
Otherwise, what would be a good way to go about it? Right now, I simply have a TextArea on top of a TextField. Just to clarify, I'm not looking for a full fledged terminal, what I need is a small little console that I can tie with the game.
Check out my answer to this other similar question. I believe it answers your question.