MView Default Table Size: Mview 4.1.0alpaha8

User 8021c13096

14-03-2006 11:22:24

If I'm running the MView bean as an application and double click on a smiles file containing 20 molecules:





How do I change the default table size in Mview when reading a multimol file? It always give a 2x2 table of 2 rows and 2 columns

ChemAxon a3d59b832c

15-03-2006 13:14:10

Hi Michael,





You can use the -c<number> and -r<number> command-line options.





-c <number> the maximum number of visible columns (default: 2)


-r <number> the maximum number of visible rows (default: 2)








For example:
Quote:
mview -c3 -r5 workspace/Molecules/nci100.smi
You can find the description of mview command-line options here:


http://www.chemaxon.com/marvin/doc/user/mview.html





or by typing in the command-line:
Quote:
mview --help
Best regards,


Szabolcs

User 37df300f74

11-01-2007 22:14:12

I have a different requirement for mViewPane in Java application.


Support you setup the initial col =1 and row =1 for molecule table, can you change col and row dynamically (JAVA API) later on in order to add more molecules or remove some molecules from mView? Currently I have to use setParamters() to adjust row and col each time and then setM().


IT is not efficient if I have 50 mols and want to add one more.





Thanks


Hongzhou

ChemAxon 7c2d26e5cf

12-01-2007 11:14:34

Currently, there is no other way to rerender table than setParams.

ChemAxon 7c2d26e5cf

16-01-2007 23:40:55

We will implement a JTable like rendering in MarvinView that will be more sophisticated than the current one. We will take ahead your request (add new cells to existing view table) at the designing of this new rendering.


It is a huge work. So I can not promise that it will be ready in the near future.