Wrong import or there is something in javafx packages could be wrong | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Wrong import or there is something in javafx packages could be wrong

every time invoking this method pane.setpadding(new insets(2,2,2,2)); there is error on insets and it is highlighted with red .

9th Apr 2017, 10:12 PM
Ahmed
Ahmed - avatar
1 Answer
+ 3
ok well its supposed to be Insets, with a capital "i"
9th Apr 2017, 11:34 PM
Edward