Re: Variable display in debugger

2024-01-11 Thread John Barrow
Hi, > Does this still requires me to change the source code? It looks like it to me though I might be missing something. You deduced correctly that it would mean introducing a debug line to publish the Object at that time if you are debugging within one of their methods, although if you are

Re: BufferedReader and BufferedWriter : non-static variable cannot be accessed from the static context

2022-05-23 Thread John Barrow
I am relatively new to Java, and get this occasionally myself due to the "static main" method being typed within the class. The issue is that you are trying to access "BF" and "str" that exist inside a class, from a static environment (main). I think it would have helped if the exception had been

RE: java.lang.NumberFormatException: For input string: ""

2021-05-04 Thread John Barrow
Yes, Integer.parseInt() doesn't accept the empty string as a valid number. You would have to initialise the strings to "0" as a default and then would be OK.I think it is a bit of an opinion boundary case in that when I first discovered it, I thought that the empty string should equate to 0, as

RE: Re: Auto-backup of unsaved source files

2019-12-10 Thread John Barrow
tions from the IDE but I have it turned on in Options/Miscellaneous and a file I have open and edited is not being auto-saved. Based on this, I'd say it does not appear to work. :(---Cheers,Slim On 2019-12-10 12:26, John Barrow wrote:Slim, Thanks, that plug in appears to describe exactly what I was a

RE: Re: Auto-backup of unsaved source files

2019-12-10 Thread John Barrow
shots of your source (a bit like you get for each committed change to a source control system). John From: Emilian BoldSent: 10 December 2019 15:36To: John BarrowCc: NetBeans MailingSubject: Re: Auto-backup of unsaved source files See Local History.--emi mar., 10 dec. 2019, 16:58 John Barrow &

RE: Re: Auto-backup of unsaved source files

2019-12-10 Thread John Barrow
History.--emi mar., 10 dec. 2019, 16:58 John Barrow <jbarrow...@gmail.com> a scris:Is there an option for Netbeans to auto-save your work every (say) 5 minutes so that if Windows reboots (for example after an update) and you have forgotten to formally save work to date, there is a place to g

Auto-backup of unsaved source files

2019-12-10 Thread John Barrow
Is there an option for Netbeans to auto-save your work every (say) 5 minutes so that if Windows reboots (for example after an update) and you have forgotten to formally save work to date, there is a place to go (e.g. specified folder) that will have the version of source just before (or near

RE: [ NetBeans IDE ] Is there a shortcut key for 'Replace instance'

2019-04-12 Thread John Barrow
Король Sent: 12 April 2019 12:07 To: John Barrow Subject: Re: [ NetBeans IDE ] Is there a shortcut key for 'Replace instance' Hello. After you press Ctrl-H, you can press ENTER for replace and Shift-ENTER for replace all when your cursor in bottom textArea. And ENTER or Shift-ENTER when in upper

[ NetBeans IDE ] Is there a shortcut key for 'Replace instance'

2019-04-12 Thread John Barrow
tion. However I haven’t discovered the shortcut keys to trigger the ‘Replace’ instance and ‘Next’ buttons in the dialog so I can quickly step through without needing the mouse. I have found the Shortcuts sheets and they are not mentioned on it. Do these exist and if so what are they? Thanks John Barrow