Hi folks,
The label lblreceipe1 contains the
String keyIngrediants. The problem I have is that the String automatically goes to the left. How can I centre this in the label?
Thanks,
Mark McG
Label lblreceipe1 = new Label();
Font chosenFont = new Font("Serif",Font.BOLD,27);
String keyIngrediants = "No Salt";
lblreceipe1.setText(keyIngerdiants);
lblreceipe1.setFont(chosenFont);