Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
3 votes
0 answers
151 views

Java Swing Layout Manager: TrainLayout, TotemLayout, BullsEyeLayout (together called TOnion layout)

This is my code of the Java Swing LayoutManager that I wrote for Cerebrummi vocabulary trainer. Screenshots I made it available (version 3.0) on github to be used freely. Unfortunately it was never ...
dragoness's user avatar
  • 315
4 votes
1 answer
88 views

Sharing UI logic between fragments and activity

I have tried to make my code more modular and reusable by utilizing fragments in activity. The purpose is to have a static activity with a FragmentContainerView that hosts various fragments. Each ...
Kevin's user avatar
  • 71
2 votes
0 answers
48 views

Optimize animation, use parameters for different types of objects and work with VBox

...
Michal Rama's user avatar
1 vote
1 answer
180 views

Sign Up layout in android

I have created a sign up layout as image below. Does this part of code looked bad since the dp I used for the floating button are quite large. ...
John Joe's user avatar
3 votes
1 answer
2k views

Android Authentication Activity with Fragments

I have an Activity called AuthActivity and I would like all of my authentication Fragments to be in this ...
Alexiz Hernandez's user avatar
3 votes
0 answers
5k views

A BaseActivity to render toolbar and navigation drawer

I'm new to Android programming and this is my first project so I'm not sure if this is the correct method of rendering the toolbar or the navigation of the drawer on the screen: So I have a ...
Areeb Beigh's user avatar
3 votes
0 answers
796 views

Tablayout code for Android

I am using Tablayout for an Activity in my app but for some reason icons for each tab using ...
Shafayat Mamun's user avatar
7 votes
1 answer
1k views

Button-clicking UI for a game

I've been working on this game for a couple weeks now as a purely personal project to help myself learn Java. I'd like to know if I'm on the right track with my project. Items I'd like specific ...
Mikey Harris's user avatar
3 votes
1 answer
659 views

Swing Component Resizer Class

I've created a class to help resize Swing components while maintaining their aspect ratio within a container. The class works by creating an instance and adding a container's components to it, then ...
Patrick Wallace's user avatar
2 votes
1 answer
215 views

Managing Layouts in MigLayout

The following code creates a JFrame with a JTextField array in it. It also creates a JMenuBar...
Dan's user avatar
  • 385
5 votes
1 answer
213 views

JFrame with four sliders

I am writing a control panel with Sliders but I think my code is messy and cumbersome, what can I do to improve it? ...
Munkybunky's user avatar
1 vote
2 answers
284 views

How's my and my father's java ODE Solving and Graphing Program?

At the request of my father, I've adapted some C# code he wrote which uses a timer to display the true and approximate solutions of the ODE y' = -lambda*y in real time to do the same in java and then ...
George Tomlinson's user avatar
1 vote
2 answers
6k views

Nested layouts - BoxLayout inside BorderLayout

I have this code: ...
Maroun's user avatar
  • 135
1 vote
1 answer
905 views

Java Swing Panel layout [closed]

I am working on a Java project for college that involves us setting up a TCP Server and Client. I have that part working and now to add more of a feel to my project I want to add a GUI. We have not ...
Javacadabra's user avatar