M
M
Mark2016-11-12 15:36:51
Java
Mark, 2016-11-12 15:36:51

How to make a toggle panel?

Hello.
I am programming a graphical calculator, I want to make a panel at the top The
c397d2fc35d64fb99225409b955e4304.png
question is that I don’t know how to make the buttons appear and disappear, that is, I don’t know how to program this panel at all.
Sort of like this
When normal
fd89e6dbf4db48099a744d55f56f512c.png
When engineering
cb483a0aec8748eabbec6478e7a897c5.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sland Show, 2016-11-12
@SlandShow

There is one tutorial here .
But it seems to me that if you want to make a really good calculator, then it's better to make it based on reverse polish notation so that you can read complex expressions like:

1 + 2*3
(2 - 4) / 5
9/2 - 3/4

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question