문제

Is it contraindicated to use several presetted dimension objects to set the preferred size of non resizable components on the screen. E.g.: two textfields both should be 80x20 px so:

Dimension d = new Dimension(80, 20);
tf1.setPreferredSize(d);
tf2.setPreferredSize(d);

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top