Another way I learned this was to use your mind to connect with the space you are in. Like making a tripod. You are standing on one foot but in your mind you make a tripod with something or another person in your surroundings.
Then you will feel stable. Don't try to balance, use your mind to create a triangle and a stable connection, your leg being one leg of a triangle. If you can focus on a mental triangle then your balance is easy.
Of course it takes a little practice.