Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Hani Ibrahim
Added: Aug 24, 2018 7:14 PM
Views: 5
Get the reference of the main frame object (when "this" cannot work) in another class.
  1. [NameOfMainClass].getFrames()[0]