< prev index next >
src/java.desktop/unix/classes/sun/awt/X11/XChoicePeer.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 676,692 ****
Rectangle r = unfurledChoice.placeOnScreen();
unfurledChoice.reshape(r.x, r.y, r.width, r.height);
repaint();
}
- /**
- * DEPRECATED: Replaced by add(String, int).
- */
- public void addItem(String item, int index) {
- add(item, index);
- }
-
public void setFont(Font font) {
super.setFont(font);
helper.setFont(this.font);
}
--- 676,685 ----
< prev index next >