border-layout

JScrollPane doesn't show if BorderLayout constraint is CENTER?

Hi all, Been developing a game for a while, and currently re working the GUI, or at least trying to. Had the massive problem of not being able to resize the frame (without issues), as I didn't understand layout managers very well. A few projects later, and time to come back and do some more on the game, and I hit a problem... The basic ...

How to manage a BorderLayout with generic JPanel()

Im not sure how to reference to JPanel when it was declared like this. This is the coding of the entire program: Everything works but the layout is not how I want it. adding BorderLayouts to it doesnt seem to work. class FrameDemo { public static void main(String[] args) { final JFrame frame = new JFrame("CIT Test Progr...

how to use zk annotations

Hi, I am using zk 5.0.3. I want to use the following annotation binding as the title of a "center" region of a borderlayout: <a:bind content="entrydisplay.activeEntryCaption" /> <html /> I want to do the following: <borderlayout> <north title="use the above binding here"> this is north </north> </borderlayout> How do I achie...