Genomic browser embedded in java: Swing and awt or Swing and Processing?

I am writing a genomic browser designed primarily to view the history of chromosomal rearrangements. Right now, the project is a series of demo demos written using Processing . At this point, if I do not make any drastic changes, the final application will be a gui web applet consisting of swing components that open PApplets to actually show permutations.

My question is: should I give up processing and switch to pure Swing / AWT? This is my first big java project. I am building in an eclipse, but I can also use netbeans. If I could embed PApplet objects inside a JFrame, for example, that would make my day.

+3
source share
2 answers

processing.core.PAppletextends java.applet.Applet, so it should be possible to embed a PAppletin java.awt.Frame, as described in the applet ⇒ application: Hitters Hybrid Switch . See Also Mixing heavy and light components .

Application: from the API, Processingworks in Frame, not JFrame. However, there is nothing that you do not insert PAppletin JFrame, "with the exception of the limitations mentioned above.

+5
source

Keep in mind that I know almost nothing about processing or your project, so I can give you general advice.

, : , ? , . , , ( , ).

+1

Source: https://habr.com/ru/post/1752896/


All Articles