JSlider - Negative minimum value not allowed?

Hi,
I want a JSlider ranging from -10 to +10. setMinimum(-10), however, gives me a JSlider ranging from 0 to +10. Why?
Thanks for your help,
Thomas

But, all you have to do is rescale it. You're not SOL at all. The slider value is just the internal representation, you can put whatever labels you want on it and trnasofrm it to wahtever you want.
So for example, say you have a range of -10 to 10. Then you have a range of 0 to 20, and when you set the value you add 10, and when you get the value back, subtract 10. Simple!

Similar Messages

  • Error - Negative values not allowed

    Hi,
    I was running a BDC program with the user for F-28 Post incomming payments. After processing the BDC session it is giving the error saying Negative values not allowed. Can some one please help me find out what is this error and how to fix it.
    Thanks,
    Neelu.

    Hi Neelu,
    just take 2 records in the flat file and run it in the foreground with functional guy.
    This issue is belongs to Configuration , so better to sit with functional and show them where the error is raised .
    if not the configuration problem just check in the flat file the values available is with -ve r not .
    No Doudt this is mostly functional configuration.
    Thanks
    Naveen khan
    Message was edited by:
            Pattan Naveen

  • Negative delivery costs not allowed

    Hi Experts,
    In the below situation I am getting message like 'Negative delivery costs not allowed'.Please
    give your suggestions.
    There is a PO line item which I want to check the 'Delivery completion indicator' But when I am
    going to change mode of the PO, in that line item delivery costs are coming in negative & samething
    is shown in PO header condition tab as well.
    So system throws message that ' PO Header still faulty'. 'Negative delivery costs not allowed'.
    Please suggest how to overcome this problem.
    Regards,
    Partha

    Hi,
    PLease check which condition is causing this error and change "rounding rule" to B. If this does not solve the error, I would recommend that you open a ticket at SAP.
    Best Regards,
    Arminda Jack

  • LRM-00112: multiple values not allowed for parameter 'query'

    Hello,
    I am getting below error while trying to execute below query...please help:
    exp username/password file=query.dmp log=query.log tables=schema_name.tablename query=\"where PRODUCT_KEY IN\'4541450,4541455,4541475,4541504,
    4541505,4674142,4674201,4674202,4673982,4674000,4674114,4674118,4654432,4715806,4715807,4716122,4716133,4870247,5321008'/"
    LRM-00112: multiple values not allowed for parameter 'query'
    EXP-00019: failed to process parameters, type 'EXP HELP=Y' for help
    EXP-00000: Export terminated unsuccessfully

    yeah i have tried using paranthesis as well...it has given below error then:
    exp schema/password file=query.dmp log=query.log tables=schema_name.table_name query="where PRODUCT_KEY IN (4541450,4541455,4541475,4541504,4
    541505,4674142,4674201,4674202,4673982,4674000,4674114,4674118,4654432,4715806,4715807,4716122,4716133,4870247,5321008)"
    ./export.ksh: syntax error at line 1 : `(' unexpected

  • ERR ORA-24323: value not allowed

    Hi ,
    I have Developer 6i work on database 10g R2 (10.2.0.3) on windows 32 bit , i move the database to new server (windows 2008 64 bit) Database 10.2.0.4.
    I move the database using export utility. Everything is ok except my reports.
    My reports fail with (ERR ORA-24323: value not allowed). i did a trace using the report builder i see the follow error :-
    ERR REP-0501: Unable to connect to the specified database.
    ORA-00000: normal, successful completion
    ERR ORA-24323: value not allowed
    Please i need help.
    Regards

    Hello,
    Have you tried to connect to the database 10.2.0.4 / windows 2008 64 bit using the sqlplus in
    6i ORACLE_HOME/bin ?
    Does it work ?
    Regards

  • Clear text value not allowed for credentials in config.xml

    I am in the process of migrating our J2EE application from Weblogic 8.1 to Weblogic 10 MP1 and have converted config.xml to the new schema. When starting up in production mode, I see the following error which causes the server to shutdown:
    <Server failed. Reason: [Management:141266]Parsing Failure in config.xml: java.lang.IllegalArgumentException: In production mode, it's not allowed to set a clear text value to the property: CredentialEncrypted of SecurityConfigurationMBean>
    In 8.1 it seems that it would fill in the credentials based on the username and password in boot.properties so it was possible for our installation program to leave these entries blank. However, when starting in 10.0 it doesn't do this. Below is an excerpt from config.xml.
    <security-configuration>
    <name>xyz</name>
    <realm>
    <sec:authentication-provider xsi:type="wls:default-authenticatorType"></sec:authentication-provider>
    <sec:authentication-provider xsi:type="wls:default-identity-asserterType">
    <sec:active-type>AuthenticatedUser</sec:active-type>
    </sec:authentication-provider>
    <sec:role-mapper xsi:type="wls:default-role-mapperType"></sec:role-mapper>
    <sec:authorizer xsi:type="wls:default-authorizerType"></sec:authorizer>
    <sec:adjudicator xsi:type="wls:default-adjudicatorType"></sec:adjudicator>
    <sec:credential-mapper xsi:type="wls:default-credential-mapperType"></sec:credential-mapper>
    <sec:cert-path-provider xsi:type="wls:web-logic-cert-path-providerType"></sec:cert-path-provider>
    <sec:cert-path-builder>WebLogicCertPathProvider</sec:cert-path-builder>
    <sec:user-lockout-manager></sec:user-lockout-manager>
    <sec:security-dd-model>Advanced</sec:security-dd-model>
    <sec:combined-role-mapping-enabled>false</sec:combined-role-mapping-enabled>
    <sec:name>myrealm</sec:name>
    </realm>
    <default-realm>myrealm</default-realm>
    <credential-encrypted></credential-encrypted>
    <web-app-files-case-insensitive>os</web-app-files-case-insensitive>
    <compatibility-connection-filters-enabled>true</compatibility-connection-filters-enabled>
    <enforce-strict-url-pattern>false</enforce-strict-url-pattern>
    </security-configuration>
    Is anyone else trying to do this?
    Henry

    Hi henry,
    While running a particular instance in the production mode(wls 10.x),prior to upgrading the domain you need to upgrade the security provider(all the mbeans ) you use in the previous versions and later on if you follow the domain upgrade you may find a solution for this issue...

  • Is there a way to specify a value not allowed in text field?

    I see there is max/min chars and values but is there a way to specify not to allow specific words or a specific value like 2000 in an integer field? Maybe I'm blind but I searched through all of this document http://labs.adobe.com/technologies/spry/articles/textfield_overview/ as well as this forum and wasn't able to find anything. Thanks in advance for any help.

    This forum is for authoring Dreamweaver Extensions. Are you using Spry in a DW Extension?
    If not, try the Spry forum:
    http://forums.adobe.com/community/adobe_labs/spry_framework_ajax_prelease
    Randy

  • Null values not allowed in object-parameter for esb proxy invocation

    When I create a proxy service for my esb webservice and try to invoke this service from my ADF Application I was always getting the exception 'unexpected null value for literal data'.
    I've figured out what went wrong through debugging the proxy-classes of the esb-service.
    You need to define an input-value for each attribute of which your object is constituted. After I've initialized each variable in the object, which is the input-parameter of my esb proxy, everything works fine.

    When I create a proxy service for my esb webservice and try to invoke this service from my ADF Application I was always getting the exception 'unexpected null value for literal data'.
    I've figured out what went wrong through debugging the proxy-classes of the esb-service.
    You need to define an input-value for each attribute of which your object is constituted. After I've initialized each variable in the object, which is the input-parameter of my esb proxy, everything works fine.

  • Ora-24323 Value Not Allowed

    any body has idea how to solve this error
    it say
    A null value or a bogus value was passed in for a mandatory parameter
    but am sure am entering valid value for this column and i tried befor and it was working fine but now i dont know what happen.

    That cannot be a general application server issue, it may be Forms or database related -- suggest you post the question there.

  • LRM-00112: multiple values not allowed for parameter 'control' - SQL Loader

    Hi,
    Please can someone help me identify why the below SQL* Loader test doesn't work and i get the error in the subject header?
    ctl file (load.ctl)
    load data
    infile 'C:\Documents and Settings\My Documents\loader\TEST.csv'
    into table XXCPP.SQL_LOADER_TEST
    fields terminated by "," optionally enclosed by '"'
    ( PERSON_ID, EMP_NAME, EMP_NUMBER )
    command line prompt
    sqlldr thompsos/generate control='C:\Documents and Settings\My Documents\loader\load.ctl' log='C:\Documents and Settings\My Documents\loader\load.log'
    I'm obviously missing a key piece of code, but can't locate it?
    Many Thanks

    Thanks, unforunately it's still the same. What i have done is move the file to the c drive rather than using a location which has spaces on it.
    I no longer have the same issue as before, but Now i get a different message that would imply my directory isn't correct. I've double checked and everthing seems in order and files are where i've selected.
    Error:
    sqlldr thompsos/generate control='C:\loader\load.ctl' log='C:\loader\load.log'
    SQL*Loader: Release 8.0.6.3.0 - Production on Wed Jan 12 13:31:50 2011
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    SQL*Loader-500: Unable to open file (C:loaderload.ctl)
    Linux Error: 2: No such file or directory
    ctl file (load.ctl)
    load data
    infile 'C:\loader\TEST.csv'
    into table XXCPP.SQL_LOADER_TEST
    fields terminated by "," optionally enclosed by '"'
    ( PERSON_ID, EMP_NAME, EMP_NUMBER )
    Command Line
    sqlldr thompsos/generate control='C:\loader\load.ctl' log='C:\loader\load.log'

  • Items with  zero stock quantity show negative stock value in Stock reports

    When running Stock reports for controlling the stock value towards the GL accounts, some items appear with zero stock quantity, but the report still shows a stock value  (negative value in my case)
    How can this happen, and how can I correct this situation ?
    System parameters are :   negative stock is not allowed, Items with zero cost price not allowed. On item level average cost price method is used.
    P.K.Johnsen

    Hi Johnsen,
    I believe you have checked the" Manage Inventory by warehouse". I have noticed this issue in SAP B1 2005B but this is rectified in 2007B. The system behaves in this way as the system maintains item cost for the item for all warehouses and even if the stock is not present in the warehouse, the system would still show you a value for the same. Hope this helps. please search the forum. You'll find related threads.
    Thanks,
    Joseph

  • SharePoint List Form using InfoPath 2010 "Cannot insert the value NULL into column 'tp_DocId', table 'Content_SP_00003.dbo.AllUserData'; column does not allow nulls"

    I am experiencing issue with my SharePoint site , when I am trying to add new Item in List . Error given below :--> 02/03/2015 08:23:36.13 w3wp.exe (0x2E04) 0x07E8 SharePoint Server Logging Correlation Data 9gc5 Verbose Thread change; resetting trace
    level override to 0; resetting correlation to e2e9cddc-cf35-4bf8-b4f3-021dc91642da c66c2c17-faaf-4ff9-a414-303aa4b4726b e2e9cddc-cf35-4bf8-b4f3-021dc91642da 02/03/2015 08:23:36.13 w3wp.exe (0x2E04) 0x07E8 Document Management Server Document Management 52od
    Medium MetadataNavigationContext Page_InitComplete: No XsltListViewWebPart was found on this page[/sites/00003/Lists/PM%20Project%20Status/NewForm.aspx?RootFolder=&IsDlg=1]. Hiding key filters and downgrading tree functionality to legacy ListViewWebPart(v3)
    level for this list. e2e9cddc-cf35-4bf8-b4f3-021dc91642da 02/03/2015 08:23:36.17 w3wp.exe (0x1B94) 0x1A0C SharePoint Server Logging Correlation Data 77a3 Verbose Starting correlation. b4d14aec-5bd4-4fb1-b1e3-589ba337b111 02/03/2015 08:23:36.17 w3wp.exe (0x1B94)
    0x1A0C SharePoint Server Logging Correlation Data 77a3 Verbose Ending correlation. b4d14aec-5bd4-4fb1-b1e3-589ba337b111 02/03/2015 08:23:36.31 w3wp.exe (0x2E04) 0x07E8 SharePoint Foundation Database 880i High System.Data.SqlClient.SqlException: Cannot insert
    the value NULL into column 'tp_DocId', table 'Content_SP_00003.dbo.AllUserData'; column does not allow nulls. INSERT fails. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at
    System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject
    stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavi... e2e9cddc-cf35-4bf8-b4f3-021dc91642da 02/03/2015
    08:23:36.31* w3wp.exe (0x2E04) 0x07E8 SharePoint Foundation Database 880i High ...or runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream,
    Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior,
    RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand
    command, CommandBehavior behavior,

    Are you trying to setup P2P? Could you explain the process you followed completely? By anychance you create the backup and then created the publication?
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • Function return value == -10. Native error code -2146824584 ADOBD.Recordset: Operation is not allowed when object is closed

    I want to call Stored Procedure that return records and output parameter, from CVI
    I can get output parrameter but when I want to get records stream I recieve following wrror:
    function return value == -10. Native error code -2146824584 ADOBD.Recordset: Operation is not allowed when object is closed

    in Stored procedure I create table variable and and insert into string values
    when I remove usage of table variable the error desappear

  • How to raise an error message when duplicate value is entered in a tabular field column? Basically not allow duplicate value at the form level.

    Hi all,
    I have created a form with one data block MATURED_FD_DTL which looks like below:
    ACCT_FD_NO
    CUST_CODE
    FD_AMT
    FD_INT_BAL
    TDS
    CHQ_NO
    ADD_FD_AMT
    P_SAP_CODE
    P_TYPE
    CREATE TABLE MATURED_FD_DTL
      ACCT_FD_NO    VARCHAR2(17 BYTE)               NOT NULL,
      CUST_CODE     NUMBER(9),
      FD_AMT        NUMBER(15),
      FD_INT_BAL    NUMBER(15),
      TDS           NUMBER(15),
      CHQ_NO        NUMBER(10),
      ADD_FD_AMT    NUMBER(15),
      P_SAP_CODE    NUMBER(10),
      P_TYPE        VARCHAR2(1 BYTE)
    For MATURED_FD_DT.ACCT_FD_NO, Trigger: KEY_NEXT_ITEM, I have written the following code:
    DECLARE
    V1 NUMBER;
    V2 NUMBER;
    BEGIN
    V1:=:MATURED_FD_DTL.ACCT_FD_NO;
    MESSAGE('V1:'||V1);
    MESSAGE(' ');
    END;
         GO_ITEM('MATURED_FD_DTL.CUST_CODE');
    This is just a dummy code.
    When ever i enter the value in the field of ACCT_FD_NO, it pops up a message saying "V1:Value of ACCT_FD_NO",
    So i want to store that value .
    Compare them & if it is egual, it should pop up a message saying duplicate value is entered and must not allow to enter, at form_level.
    So how can I compare the ACCT_FD_NO value between FIRST_RECORD and NEXT_RECORD ??
    Help Me .
    Thank You.
    Oracle Forms 6i.
    Oracle 9i.

    Thank You HamidHelal.
    Actually before posting the code, I went through the first link you have mentioned. I tried also, it is quite tedious procedure, however i dint get the proper result, may be i have done some mistake. Anyways , can you tell me how do i check in database table, if a value exists OR IF VALUE FOUND & then message and raise form trigger failure; something like below.
    IF :MATURED_FD_DTL.ACCT_FD_NO EXISTS
    THEN MESSAGE('YOU HAVE ENTERED AN EXISTING OR DUPLICATE VALUE');
              MESSAGE(' ');
    RAISE FORM_TRIGGER_FAILURE;
    END;
    OR
    IF :MATURED_FD_DTL.ACCT_FD_NO FOUND
    THEN MESSAGE('YOU HAVE ENTERED AN EXISTING OR DUPLICATE VALUE');
              MESSAGE(' ');
    RAISE FORM_TRIGGER_FAILURE;
    END;
    Is there any equivalent in the form in oracle forms 6i?? Please let me know how do i do this??

  • Commit not allowed in Trigger  then how to store the values in table

    Hi,
    Database trigger not allowed to COMMIT in it (directly) or in procedure which is calling from the Trigger. it gives error.
    so my question is:-
    1)How Database internally store the INSERT AND UPDATE value in table which is written in procedure without COMMIT?
    2) Is it necessary to write COMMIT in procedure using PRAGAMA AUTONOMOUS TRANSACTION to store inserted or updated value in table?
    Thanks in advance.

    Hi,
    A trigger is designed to be a part of a transaction, not it's end.
    It is like following these steps (not really accurate, but should give an idea):
    1. programA issues INSERT statement on tableA
    2. 'control' goes over to the database
    3. constraint checks happen
    4. the associated triggers on tableA do their work (e.g. fetching a sequence value for a primary key)
    5. 'control' goes back to programA
    6. programA decides if a commit (no error occurred) or a rollback (error case) has to be issued.
    Did this help? Probably not, I'm not happy with what I wrote, but anyway... :)

Maybe you are looking for

  • App Store, Pages 5.0, Evernote, and other Apps will not fully function after installing Mavericks. What is the issue and how can this be solved?

    Hello all, I could use some serious help on some major issues I have been having after installing Mavericks on my system (specs stated below). Never has a mac felt ever so rebelious and broken before in my lifelong period of using these systems. Anyw

  • My power mac G5 will not start up normally

    I have done everything i can think of to get video from it and dont know what else to do. 1) I unplugged all ext drives and speakers. Restarted this worked the first time I tried it hasn't worked since. 2) Plugged in ext drives one at a time untill o

  • Mutliple IDOCs

    Hi,   I have gone thru the /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm on IDOC (Multiple Types) Collection in BPM . Could any one tell me about ... >>>>>>>>>>>>> Assume that we have three different type of IDOCs ISU_UK

  • How do I fix my Reader plug-in?

    Help? I am very confused and frustrated. After many attempts to fix myself. I have probably screwed things up. My goal is simple. I had it on 1 machine before total hardware failure. I would like to have it happen again. I want to open a pdf online i

  • Embedding a mini webserver with AIR applications

    After failing to find a solution to the problem I mentioned here: http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=75&catid=697&threadid =1392396&highlight_key=y&keyword1=jpeg and in several other threads,, I started looking for w