True, half the picture would be lost with N*H copies and that may be undesirable depending on the requirements (which weren't specified) but, mathematically speaking, that's the smallest required...
Type: Posts; User: pmc
True, half the picture would be lost with N*H copies and that may be undesirable depending on the requirements (which weren't specified) but, mathematically speaking, that's the smallest required...
If I've understood what you wrote correctly then, using your nomenclature with this particular case, N*H pixels are copied.
If you struggle with this type of thing I'd recommend reading the book Beginning Java Objects: From Concepts to Code by Jacquie Barker if you haven't already done so. I found it to be excellent and...
Yeah, that makes much more sense to me - appreciated. :)
catch (BadLocationException exception) {
JOptionPane.showMessageDialog(null, "o_O an error that can't happen just happened", "Impossible Error", JOptionPane.ERROR_MESSAGE);
}
Adding code...
JTextArea textArea = new JTextArea();
highlightAll.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent event) {
textArea.selectAll();
Highlighter highlighter =...
Hello :)
I've done lots of coding as a hobby - all in Motorola 68000 assembly language on ECS Amigas, mainly intro / cracktro type stuff - but recently I've been getting into Java, for a few...