I am new to coding (and this site) and want to know if it would be appropriate to post asking for help refactoring. I do not know how to simplify or refactor anonymous inner classes. I guess I could place the whole thing in its own method but I'm wondering if there are other solutions. I am using action listener to add elements to a table and it is working as intended. The issue I am having is that my anonymous inner class is rather huge and I don't really know how to refactor those.
What solution is generally used when anonymous inner classes get too big? Can it be simplified with lambda expressions (I know I would need to post the code for this to be answered/answerable)?
These questions seem like they might be too vague to be acceptable on this website so I wanted to know if it was appropriate to ask for help with this here. If not here, does anybody have any suggestions for other websites or more education on the topic?