Hello!
I need some help! I'm currently working on a Brew Calculator for home use. It is connected to MySql so I can enter in recipe, update, and delete them. I also have a tab that I use for the calculations. My problem that I am having is that my calculations are inserted into JtextField's, but the format is being a pain. I want it to show doubles like nn.nn. It will show nn.nnnnnnn and so on. I am using Eclipse (Indigo) and WindowBuilder. I will attach my app so you can see how I am doing this. I have two classes. The WumpBrewingCalculator has majority of my code and where my GUI and Database commands are. The second class for the calculator tab and it contains all the calculations which is called by the WumpBrewingCalculator class under the "calculate" button. I am just unsure how to edit the JTextFields. I have researched before posting and many people suggest JFormattedTextField but I can not find an example that is trying to do what I am doing. Thanks for the help! WumpBrewingCalculatorTest.zip