mirror of
https://gitlab.com/2009scape/09launcher.git
synced 2025-12-09 16:45:54 -07:00
Initial push
This commit is contained in:
commit
dee36e793b
27 changed files with 554 additions and 0 deletions
6
src/main/kotlin/Extensions.kt
Normal file
6
src/main/kotlin/Extensions.kt
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import java.awt.Component
|
||||
|
||||
fun Component.placeAt(x: Int, y: Int, width: Int, height: Int){
|
||||
this.setBounds(x,y,width,height)
|
||||
if(this is ImgButton) this.scale(width,height)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue