RMIR: Badly-Worded Error Message

Discussion forum for JP1 software tools currently in use, or being developed, such as IR, KM, RemoteMaster, and other misc apps/tools.

Moderator: Moderators

Post Reply
WagonMaster
Posts: 366
Joined: Thu Apr 16, 2009 2:25 pm

RMIR: Badly-Worded Error Message

Post by WagonMaster »

I just got a badly-worded error message in a pop-up dialog:
RMIR v1.97 wrote: The defined advanced codes (keymoves, macros, special functions) use more space than is available.defined than there is space available. Please remove some.
It's clearly the result of this block of code in 'RemoteMaster.java':

Code: Select all

if ( !updateUsage( advProgressBar, remote.getAdvancedCodeAddress(), remoteConfig.getAdvancedCodeBytesNeeded() ) )
{
  JOptionPane.showMessageDialog( this,
      "The defined advanced codes (keymoves, macros, special functions) use more space than is available."
          + "defined than there is space available.  Please remove some.", "Available Space Exceeded",
      JOptionPane.ERROR_MESSAGE );
}
if ( !updateUsage( upgradeProgressBar, remote.getUpgradeAddress(), remoteConfig.getUpgradeCodeBytesNeeded() ) )
{
  JOptionPane.showMessageDialog( this,
      "The defined advanced codes (keymoves, macros, special functions) use more space than is available."
          + "defined than there is space available.  Please remove some.", "Available Space Exceeded",
      JOptionPane.ERROR_MESSAGE );
}
if ( !updateUsage( learnedProgressBar, remote.getLearnedAddress(), remoteConfig.getLearnedSignalBytesNeeded() ) )
{
  JOptionPane.showMessageDialog( this,
      "The defined advanced codes (keymoves, macros, special functions) use more space than is available."
          + "defined than there is space available.  Please remove some.", "Available Space Exceeded",
      JOptionPane.ERROR_MESSAGE );
}
Greg, can you please fix those lines to say something slightly clearer? :) Thanks!

P.S. Glad to notice that you were so quickly able to figure out the problem with my other 2 recent threads!

Bill
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

Got it.
Post Reply