i am sorry for the last post that i have made obviously confuse users , because i was confuse with my codes [Really sorry for that ] excuse me !
Problem Statement :
actually my problem was decent know how to open a image using a another window in netbeans Java Desktop application , and my primary objective is to access and image of a human in desktop application
to convert in to 2-D version [to be specific it was and image processing role in my desktop application ] so i was stuck in initial part that was to retrieve image to desktop Application [on top of mainFrame], so please be kind enough to help me out to move towards
and Thanks a lot for the immediate response base on my post , really i was impressed as a new comer for the coderanch website
looking forward to hear form you ASAP