Alexey Ivanov
Alexey Ivanov
There exists at least one other problem because of integer overflow in `insertIndexInterval`. This code ```java selectionModel.setSelectionInterval(Integer.MAX_VALUE - 1, Integer.MAX_VALUE); selectionModel.insertIndexInterval(Integer.MAX_VALUE - 1, Integer.MAX_VALUE, true); ``` throws ```txt Exception in...
> With the current code in the PR, six (6) test cases still _fail_. The failure of `test10` is expected: you adjust the value of `length` so that `insMaxIndex` can't...
Out of curiosity, can this test use `BufferedImage` to render `JInternalFrame` into?
> > Out of curiosity, can this test use `BufferedImage` to render `JInternalFrame` into? > > @aivanov-jdk Thank you for reviewing. I wanted to clarify whether you meant saving just...
> @aivanov-jdk Regarding saving the screen capture - > > When JIF bounds are used, a partial image of JInternalFrame (JIF) is saved. Hence I'm using the entire outer JFrame...
> @aivanov-jdk The extra pixel seems to be added due to JInternalFrame titlebar and not from the paintBorder() code changes. Good then. It's not from the border.
> Thank you for removing that large try/catch block. Looks much better. I agree, the code is clearer now. I started reviewing the updated code but I haven't finished it....