< prev index next >
src/java.desktop/share/classes/javax/swing/plaf/basic/BasicToolBarUI.java
Print this page
*** 419,428 ****
--- 419,429 ----
/**
* Navigates the focused component.
*
* @param direction a direction
*/
+ @SuppressWarnings("deprecation")
protected void navigateFocusedComp(int direction)
{
int nComp = toolBar.getComponentCount();
int j;
*** 884,893 ****
--- 885,895 ----
* Sets the floating property.
*
* @param b {@code true} if the {@code JToolBar} is floating
* @param p the position
*/
+ @SuppressWarnings("deprecation")
public void setFloating(boolean b, Point p) {
if (toolBar.isFloatable()) {
boolean visible = false;
Window ancestor = SwingUtilities.getWindowAncestor(toolBar);
if (ancestor != null) {
*** 1078,1087 ****
--- 1080,1090 ----
* is being dragged.
*
* @param position the relative to the {@code JTollBar} position
* @param origin the screen position of {@code JToolBar} before dragging
*/
+ @SuppressWarnings("deprecation")
protected void dragTo(Point position, Point origin)
{
if (toolBar.isFloatable())
{
try
< prev index next >