Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 days ago.
Improve this question
i'm new in java.
I want to add a selection field with sublist.
Is it possible ??
I have use a combobox.
I tried to find other feild.
JComboBox branddoor_ch=new JComboBox(); this is the feild
branddoor_ch.setModel(new DefaultComboBoxModel(new String[] {"Turkish Inox Door","Turkish EPOXY Door", "Wittur", "Frmator E120", "Xizi Doors"}));
I want when i click on "Turkish Inox Door" a other subliste apearse.
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
What does this error mean ?
My code image
Place a frame layout in xml and put the id of the frame layout as R.id.content_frame
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I just need to know how to make the images completely fill the devices width because currently there are ugly white gaps between the imags? Any suggestions?
this question may help you Android Recyclerview GridLayoutManager column spacing
you can use RecyclerView.ItemDecoration to control the space between grid, the space can even be negative.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I want to display Vo for initial velocity, and it displays fine in MOST places, but on all of my circle buttons, it displays in all caps, so it looks like "VO" instead of "Vo".
Is there a way to fix this? Is it a weird button interaction?
Thanks!
Buttons are all-caps by default since Android 5.0. If you want to disable this, you may have to specify android:textAllCaps="false" on your Buttons.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
How can I remove border from tab ? Tabs' enable is set to false.
There is a picture for a better idea
Thanks for help.
Possible solution: don't use a JTabbedPane. Instead perhaps you want to use a JList or JLabels, add a MouseListener and on mousePressed swap the view to the right using a CardLayout.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
How can I make the JSpinner go back to the last valid value when it loses focus and also when I press the spinner arrow button?
You could use an InputVerifier or adjust the spinner model to provide min/max values. See How to use Spinners