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
I am trying to add a kind of label when the mouse touches a button, I used Jlabel but i failed to create it.
Can you help me?
Use setToolTipText with Button.
button.setToolTipText("Click me");
Look at this tutorial.
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 4 years ago.
Improve this question
How I can create this type of sweep animation using gesture or other method in android studing using java.
Effect: https://ibb.co/hKJjen
So for the swiping cards you'll have to use this library
https://github.com/flschweiger/SwipeStack
When user will touches/swipes the cards there will be a white dot which acts as a pointer just like how you'r attached example shows. Click the below link and you'll get the right code implementation for it!
http://android-er.blogspot.in/2015/05/android-custom-touch-view-with-callback.html
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 7 years ago.
Improve this question
Do you a widget or a way to have a rating bar in java like android ? I'm using gtk3. I can create a radiobutton group which is quite similar but not the same visualy.
You can change the image of radiobutton with drawables.
Possible solution
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 8 years ago.
Improve this question
So i have this idea to create an activity that have only buttons which split the screen as presented in the picture:
I was thinking about creating some functions for each button. those functions will be dependent on the y and x axis of the screen.
Can you guys give me a direction on how to do this in a manner of using the Button and imageButton widgets in my activity.java file?
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
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 there a way I can set a listener for if the TextArea is edited by the user?
If that is not possible, can I add one to its focus?
Get the document the text area is using via textArea.getDocument()
Then write a document listener. The document listener will tell you whenever the user edits the text area.