All Questions
3,415 questions
0
votes
1
answer
53
views
Same frame for login and sign up
I am working on a project for which i need to make a login and sign up. I am an beginner in java swing so i am facing some issues. I have a basic frame for both login and sign up but they don't appear ...
1
vote
1
answer
70
views
JComponents "Popping Through" Other JPanel
I have been trying to search for similar issues regarding mine, but to no avail.
I have a simple Java Program wherein I have a JLayeredPane with a BorderLayout containing three JPanels. Inside the ...
0
votes
1
answer
43
views
Java Swing GridBagLayout not working as expected when trying to add another JPanel with its own layout and labels as part of it
I have an assigment where I need to replicate an specific layout wth JavaSwing. I decided to use GridBagLayout since it seems really flexible but it isn't responding as expected when I try to add ...
0
votes
0
answers
39
views
Box layout unjustified preceding gap, how to fix? [duplicate]
In this example I use the Box class to organize components in a JPanel. My problem is the presence of an unjustified gap that shouldn't be there. Simply the text field should come at the beginning ...
0
votes
1
answer
83
views
How do set position of JPanel anywhere on screen
I need to have a number of JPanels, and I cannot position them where I want to as they either disappear as I try and change things like boundaries for example. Any help is appreciated
Here is the code ...
0
votes
1
answer
46
views
How to create multiple activities touch overlay app?
Im creating overlay app that shows over some games, i want to be able to use joystick in game / scroll webpage and click my overlay buttons that are at the screen bottom. How can i achieve this?
...
0
votes
1
answer
355
views
How to grow layouts in Javafx vertically as the height of screen increases?
As evident from the current layout, a considerable gap emerges, progressively expanding with the growth in frame height. My objective is to ensure that both the "Stock Arrival" and "...
0
votes
1
answer
192
views
Java SWT: Difference between redraw, reskin, update and requestLayout (and pack)
Can anybody please explain to me the difference of the methods Control.redraw(), Control.update(), Widget.reskin(), Control.requestLayout() and Control.pack()?
Unfortunately the API documentation does ...
-1
votes
1
answer
291
views
my android app get ads restriction from admob with the reason site behavior: navigation but i can't understand why?
my android app get ads restriction from admob with the reason site behavior: navigation but i can't understand why?
this is my app and i review it on many devices mobiles tablets and on many screen ...
-1
votes
2
answers
21
views
How to set my buttons to specific areas of my JPanel?
I have added my buttons to my JPanel and i want to make them appear in different areas in the Panel. I want to layout my Panel so that there are 3 buttons on top, and a question label stretching ...
2
votes
1
answer
756
views
Make a Label take all available space across an HBox in JavaFX
In JavaFX 21, I want an HBox to contain 3 elements, a label and two buttons.
HBox rowBox = new HBox ( label , buttonX , buttonY );
By default, the widgets all pile up to the left.
Like this with ...
0
votes
1
answer
48
views
How to use ConstraintLayout normally and correctly?
I've got some problem with my android layout, and i've got tired of trying to solve this. I've got TabView, PageViewer and two buttons, but PageViewer covers other interface elements with its ...
0
votes
1
answer
99
views
Why layout editor in android studio working incorrectly?
I have the problem, which is that layout editor in android studio displays layout incorrectly.screen from android studio
I think that is layout haven't missing some attribute like xmlns:tools="&...
0
votes
2
answers
309
views
Vaadin: How to implement horizontal layout with scrollable column?
I want to implement a HorizontalLayout with the table content area on the left side and the accordion-based details column on the right. The content area should occupy the remaining page height (...
0
votes
2
answers
47
views
How to keep original layout when click show softkey in android
After I click edit text to show soft key, layout banner at bottom position layout moved up.
I want to keep origin layout after click show key board in android