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). But I came up with this Java method and it seems to fit the bill whenever I need this sort of information. Click the Read More link to see the code… public String[] buildKeywords(String viewName){ &nbsp&nbsp

close

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). But I came up with this Java method and it seems to fit the bill whenever I need this sort of information. Click the Read More link to see the code… public String[] buildKeywords(String viewName){ &nbsp&nbsp

Read more

Posted in Domino, Java, SnTT

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). The idea here is to build an array of strings, determine a window title, label text and if needed footer text and pass that to the method which will

close

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). The idea here is to build an array of strings, determine a window title, label text and if needed footer text and pass that to the method which will

Read more

Posted in Domino, Java, SnTT