java - How to locate another object in a JFrame? -


let's suppose there object in specific jframe uses same abstract class.

now i'm wondering how find location of object inside jframe it's moving automatically.

i have superclass that's board.

inside board, have bunch of objects share same abstract class coded differently.

i want use objects locate each other without editing field class.

how that?

store objects in list<abstractclassname> , can iterate on them every time want perform action on of them, or search specific 1 based on it's properties if want 1 of them.


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -