SnTT: Build a Java String array from a view column

OK, more Java stuff today. Since I’ve been messing with Java I’ve found the need to build several arrays from the values of a view column. I assume it’s probably common practice to build views just for lookups of keywords, to populate drop down boxes, etc. The problem is that the Notes Java classes don’t provide something like @DbColumn which would be nice, but understandable that it’s not there (at least that I know of).

Continue Reading

SnTT: Java Method for building a checkbox dialog

Like I said earlier, I’ve been messing with Java more and more here lately, mainly to build graphs using JFree Chart. In just about every statistics report I’m doing I provide a checkbox for the user to select what data they want to display. So, I’ve built a Java Method/Function whatever you want to call it, that will simplify the task of putting a JCheckboxes in a JPanel with an instruction label and footer text with OK and Cancel buttons (See Screenshot).

Continue Reading