#Java swing ssues

22 messages Β· Page 1 of 1 (latest)

steep oasis
#

So Im making a new Program to do a multitude of things, using Java Swing I believe iuts called (I initally made this program a while ago and forgot almost all of what ive learned from my high school elective). Its Called GymGuide and one program is a one rep max calculator. After the user inputs their values, i made a new int to store the final answer. When i system.out.print-ed this it gave me the correct answer but as a Jlabel, it is missing digits. Please try your best and help me as Im trying to get back into coding again, and need some coaching on my stuff. Thanks in advance

vapid questBOT
#

βŒ› This post has been reserved for your question.

Hey @steep oasis! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

olive crater
#

@steep oasis i would suggest u always name your labels

#

is there a reson u didn't have another label for the results on the 1st frame?

steep oasis
#

What do you mean

vapid questBOT
#

πŸ’€ Post marked as dormant

This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping.
Warning: abusing this will result in moderative actions taken against you.

zinc sand
#

It works on my machine

#

Btw, you are breaking ever Coding Convention in the book and every Design Principle there is on this earth xD
Maybe have a look at the basics of Object Oriented Programming and after thet SOLID^^

twin lintel
#

Probably the font is just lacking glyphs for the digit 4 πŸ˜…

worthy ferry
#

yea

#

try some basic font

#

times new roman or whatever

vapid questBOT
#

πŸ’€ Post marked as dormant

This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping.
Warning: abusing this will result in moderative actions taken against you.

steep oasis
#

thank you guys so much for the help, it was the font

vapid questBOT
steep oasis
#

Also do you guys have a clue how I can turn it into like a desktop app I just click on

vapid questBOT
#

πŸ’€ Post marked as dormant

This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping.
Warning: abusing this will result in moderative actions taken against you.