java - Bypass layout for a component in Swing without null layout -
is there way bypass layout manager given component in swing? similar position="absolute" in css. null layout not option.
i have existing gui can't modify , uses different kinds of layouts , need add button top right corner of screen.
if can't modify existing gui, including top-level containing jframe
, might out of luck.
if can modify root container, can achieve want layered pane. can put existing jtabbedpane
in lower layer, , add button on higher layer (and there can use null
layout + setlocation()
).
Comments
Post a Comment