ChemAxon 7c2d26e5cf
04-06-2004 15:55:53
If you put MViewPane objects in JTable cells then only about 200 molecules can be displayed. These huge objects may cause out of memory exception.
The solution is to use only one n-molecule scrollable MViewPane instead of a JTable with n MViewPanes. Then the common data will be stored in only one place (instead of n) and the number of Swing components will be equal to the number of visible molecules which is usually much smaller than n.
The solution is to use only one n-molecule scrollable MViewPane instead of a JTable with n MViewPanes. Then the common data will be stored in only one place (instead of n) and the number of Swing components will be equal to the number of visible molecules which is usually much smaller than n.