| Note 8 - Share-based Compensation | 6 Months Ended | 
|---|---|
| Dec. 31, 2016 | |
| Notes to Financial Statements | |
| Disclosure of Compensation Related Costs, Share-based Payments [Text Block] | Note  8.Share-based Compensation: During the  sixmonths ended  December 31, 2016and 2015,the Company granted 1.1million and 777,000stock options at weighted average grant prices of $107.40and $105.67and weighted average fair values of $18.13and $18.59,respectively. During the sixmonths ended  December 31, 2016and 2015,the Company granted 64,931and 35,000restricted stock units at a weighted average fair value of $109.36and $105.01,respectively. During the sixmonths ended  December 31, 2016and 2015,the Company granted 23,965and 19,994shares of restricted stock at grant date fair values of $104.94and $99.53,respectively . Stock options for  23,145and 13,000shares of common stock with total intrinsic values of $1.0million and $0.5million were exercised during the sixmonths ended  December 31, 2016and 2015,respectively. Stock-based compensation expense of  $4.1million and $2.3million was included in selling, general and administrative expenses for the threemonths ended  December 31, 2016and 2015,respectively. Stock-based compensation expense of $7.2million and $4.4million was included in selling, general and administrative expenses for the sixmonths ended  December 31, 2016and 2015,respectively. As of  December 31, 2016,there was $33.0million of unrecognized compensation cost related to non-vested stock options, non-vested restricted stock units and non-vested restricted stock. The weighted average period over which the compensation cost is expected to be recognized is 2.7years. |