Skip to content
Advertisement

Tag: border-layout

JButton text changes on its own?

The following simple code: can always reproduce the same bug (at least for my setups, which are given below). The program is supposed to change the button text, according to the text-field’s text, when the button is clicked. The problem is that the text of the button reverts/changes back to its previous value on its own unexpectedly. The problem arises

Need help on Java Swing JFrame

I’m very new to Swing and I need to build a JFrame that: Has an image on top. Below the image has 16 little images divided into 4 groups (4 “panels”), on the same “row”. Below those 16 images I need 4 “panels” on the same “row”. Every panel contains some horizontal scrollable images (of the same size). Below those

Advertisement