How to break the limitations in jSlider?
Is it possible to get higher Max than Maximum? Today, Im limited by the int data type, long would be nice. Ive seen some classes that extends jSlider to DoubleJSlider, FloatJslider, but they all resides in the limits of int.
Is it any idea/solution to copy the JSlider.java and rewrite it to use another data type?
Any pointers in any directions are most welcome.
What's your use case for your question?I am using the sliders value (range is -Pi to +Pi) as an input to some trigonometric functions.
The more positions in my slider, the more decimals of Pi.
Similar Messages
-
How to break the PDF file into images?
How to break the PDF file into images? There should be settings in Photoshop CS 6 that imports PDF file and break it into images. I have a short instruction:
2. Open the file in Photoshop.
3. A new window should open to Import PDF. Click on images, not pages import pdf into Photoshop.doc
4. Select all the files shown (shift + click), Click O.K. Four files should open on your screen.
Was anybody successful with that?Whether this is available solely depends on the structure of the PDF and whether it actually contains whole images that can be extracted separately. Depending on whatgoing on in the PDF this may simply not be the case and the images have been tiled and split up in multiple "objects" whose appearance can only be retained by rasrerizing the whole page...
Mylenium -
How to Break the cluster between Two servers
Hi Experts,
Since Iu2019m new to BOBJ XI R2.I would like to know how to break the cluster between two servers.
Description :
So far we took the copy of QAS Server1 to the new QAS server2 (Through Mirroring Tool ). Now those two servers are cluster together, I can see QAS server1 CMS Name, Cluster Name, cluster member name in QAS Server2 (CMC-> Setting -> Cluster).
Besides in QAS Server1 CMS Name and Cluster name are pointing to the QAS Server1, except Cluster Member (This is still have two members Server1 and Server2).(CMC-> Setting -> Cluster).
In QAS Server1 and QAS Server2 (CMS-> Servers), I can able see both server name under Machine Name tab.
I would like to make those two servers as independent servers. There are two different data source for those two servers. I want to remove the cluster in both servers.
Right now QAS Server1 is running and QAS Server2 is stopped.
If i create/modify a group under new Mapped NT Member Groups in QAS server2 ,it is getting reflecting in QAS server 1.
Could you please tell me the steps to resolve this problem.
BO Version: BO XI R2
Regards,
SridharanHi,
Maybe the external CMS is still 'attached' to your SIA node. Please go to the CCM (Central Configuration Manager) and stop the SIA (Server Intelligent Agent). On one of the tabs you can see if there is an external CMS part of your environment. Delete it and restart the SIA. Retry if you can delete the services now from within your CMS. It may well be that you have to stop both environments and delete each others CMS via the CCM to get it working. If you have not changed any permissions for your Administrator account the security model will not be the one causing this.
Hope this helps...
Martijn van Foeken
Focuzz BI Services
http://www.focuzz.nl
http://nl.linkedin.com/in/martijnvanfoeken -
How to increase the limitations of the JMS provider?
How can I increase the limitations of the JMS provider to tolerate multiple concurrent consumers? The platform I am working on is SUN application server's Admon Console.
I think the following link can help you:
http://docs.sun.com/app/docs/doc/819-4712/6n6rit5jc?a=view
Anyway you should use the following forum about JMS:
http://forum.java.sun.com/forum.jspa?forumID=29 -
How to break the document line items in cross company code document
Hi,
Currently the cross company code posting is summing up all the line items and posting as a single line item as long as the line items are having the same tax code.
The system will break the line items only if there are non-identical tax codes. How can i change this default behaviour to break the line items in all cases?
http://wikisend.com/download/436966/2.zipIt is the standard SAP behaviour to sum up all the identical tax code values.
-
How to break the link between photoshop and lightroom when saving a photo?
I've had an ongoing issue with saving copies of photos I import from LR to PS and back into LR. Any multiple copies I make get erased when they move back to LR. My solution has been to save a copy in an extra folder apart from Lightroom and import them in later. It's rough, but it works. But now I have a new demon.
I tweaked a photo in LR, made a copy to keep it safe, then sent the copy over to PH where I did some magic. I Saved As in that special other folder, closed the tab, got the usual box asking if I wanted to save the changes (of course I did), I went back to LR to see both the original and copy changed over to the PS version. I went back to PS, opened the .psd, unclicked the mask, clicked the checkbox, when back to LR and both the original and copy in LR had the mask removed.
I'm missing something here.
There m u s t be a way to break the link between PS and LR so that when I save a copy of a photo I made in LR the original and copy remain two separate photos. Does anyone know how?
Thanks,I think I am a little confused. What you are describing seems more like a Project Server "Profile" issue, than a SharePoint to MS Project Sync.
If my guess is correct, then you just need to set the default profile to be something other than your computer.
If I am wrong, a screenshot of the error would be really helpful.
Cheers,
Prasanna Adavi, Project MVP
Blog:
Podcast:
Twitter:
LinkedIn:
-
How to break the output in a function
Hi All,
I am using oracle Db 10g
I have write a function to get the output of Expire date and pass this function to Alert in oracle.
My Function is Like this
create or replace
function Expiry_alert (P_EXPIRY_DATE date)
return VARCHAR2
IS
lv_return_value varchar2(10000);
cursor c_exp_alt
is
SELECT Distinct c_po_number,c_bg_type,c_guarantee_number,c_expiry_date,c_supplier_name
from xxbgs_bank_guarantee_master
WHERE TRUNC (TO_DATE (C_expiry_date) -15) = TRIM (SYSDATE)
and c_expiry_date= p_expiry_date;
BEGIN
for c_exp_alt_rec in c_exp_alt
loop
lv_return_value:= lv_return_Value||CHR(10)||'Bank Guarantee('||c_exp_alt_rec.C_guarantee_number||','||c_exp_alt_rec.C_BG_TYPE ||','||c_exp_alt_rec.C_po_number||','||c_exp_alt_rec.c_supplier_name ||')'||'is getting expired on'||'('||C_EXP_ALT_REC.C_EXPIRY_DATE||')'||;
end loop;
return(lv_return_value);
exception
when others then
null;
--dbms_output.put_line ('Error:'sqlerrm);
--return(lv_return_value);
END;
When i execute the function using select statement like this
SELECT distinct Expiry_alert(C_EXPIRY_DATE)
FROM xxbgs_bank_guarantee_master
WHERE TRUNC (TO_DATE (C_expiry_date)-15) =
TRIM (SYSDATE)
My output is like this
Bank Guarantee(100012,Parent Company Guarantee,1000,Advantage Corp)is getting expired on(02-MAR-12) Bank Guarantee(123890,Advance Bank Guarantee,1011,Office Supplies, Inc.)is getting expired on(02-MAR-12)
In a single line, But here i have two different Guarantee number so i need two records like this
Bank Guarantee(100012,Parent Company Guarantee,1000,Advantage Corp)is getting expired on(02-MAR-12)
Bank Guarantee(123890,Advance Bank Guarantee,1011,Office Supplies, Inc.)is getting expired on(02-MAR-12)
Can any one pls tell me how to change the function to achieve this.
Regards
Srikanth
Edited by: Srikkanth.M on Feb 16, 2012 4:41 PMSrikkanth.M wrote:
Hi All,
I am using oracle Db 10g
I have write a function to get the output of Expire date and pass this function to Alert in oracle.
My Function is Like this
.. snip ..
exception
when others then
null;
Seriously? Your function contains an exception handler to mask any and all errors that may occur? WHY?
When i execute the function using select statement like this
SELECT distinct Expiry_alert(C_EXPIRY_DATE)
FROM xxbgs_bank_guarantee_master
WHERE TRUNC (TO_DATE (C_expiry_date)-15) =
TRIM (SYSDATE)
My output is like this
Bank Guarantee(100012,Parent Company Guarantee,1000,Advantage Corp)is getting expired on(02-MAR-12) Bank Guarantee(123890,Advance Bank Guarantee,1011,Office Supplies, Inc.)is getting expired on(02-MAR-12)
In a single line, But here i have two different Guarantee number so i need two records like this
Bank Guarantee(100012,Parent Company Guarantee,1000,Advantage Corp)is getting expired on(02-MAR-12)
Bank Guarantee(123890,Advance Bank Guarantee,1011,Office Supplies, Inc.)is getting expired on(02-MAR-12)
Can any one pls tell me how to change the function to achieve this.Sounds like you need a pipelined function to return multiple rows...
Basic example of pipelined function with multiple columns...
CREATE OR REPLACE TYPE myrec AS OBJECT
( col1 VARCHAR2(10),
col2 VARCHAR2(10)
CREATE OR REPLACE TYPE myrectable AS TABLE OF myrec
CREATE OR REPLACE FUNCTION pipedata(p_str IN VARCHAR2) RETURN myrectable PIPELINED IS
v_str VARCHAR2(4000) := REPLACE(REPLACE(p_str, '('),')');
v_obj myrec := myrec(NULL,NULL);
BEGIN
LOOP
EXIT WHEN v_str IS NULL;
v_obj.col1 := SUBSTR(v_str,1,INSTR(v_str,',')-1);
v_str := SUBSTR(v_str,INSTR(v_str,',')+1);
IF INSTR(v_str,',')>0 THEN
v_obj.col2 := SUBSTR(v_str,1,INSTR(v_str,',')-1);
v_str := SUBSTR(v_str,INSTR(v_str,',')+1);
ELSE
v_obj.col2 := v_str;
v_str := NULL;
END IF;
PIPE ROW (v_obj);
END LOOP;
RETURN;
END;
SQL> select *
2 from table(pipedata('(1,2),(3,4),(5,6)'));
COL1 COL2
1 2
3 4
5 6of course why you need to do this in a function in the first place? Can't you just query the data concatenated as you want it? -
How to break the command line in SAP scripts
Hi,
Can any one Please guide me how to continue the command line( /: ) of SAP SCPRIPT into multiple lines.
Regards
KiranHi Kiran,
U can continue in the same line itself by pressing SHIFT+F8
If u want it in the next line then u can give space in the tag column.
Thanks,
Vinod. -
How to change the limitation of Table name's length?
The length of table's name or field's name is limited to 30 characters.
Can I change it? If I want to create a long name table,then how can I do?
Thanks in advance!This is a duplicate of another question
How to change Table name's length?
The short answer is no, you cannot.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
How to worksaround the limitation of hardcoded server hostname in Hyperion?
We understand that after the Hyperion Planning installation, the software will keep the physical server hostname into somewhere so that it is very difficult for us to migrate the metadata and Essbase database from one physical server to another (i.e. from server A to server B). For example, if we install Hyperion in server A, something is stored in the metadata keeping the hostname A. Even we use logical server name or changing the .host file to bypass this limitation but fails. It can't simply backup/restore the files from one server to another.
Anyone got similar experience?
Thanks!Hi Alex!
Yes, i saw the link, and it helps me a lot.
I set the primary DC (that is running as child VM) to sync automatically from NTP Server on internet.
I've also another Domain Controller that is running as child VM on another physical server.
how i've to configure the manual peer list for this DC??
the same as Primary DC, or in the list to be:
w32tm /config /syncfromflags:manual /manualpeerlist: DC01.test.local, 1.pool.ntp.org, 2.pool.ntp.org, 3.pool.ntp.org
Regards!
Lasandro Lopez -
How to remove the limitation on no. of rows
Hi,
In Quoting, when you choose Add Services after selecting a line and click on Go, it would take you to a page that lists the services that could be added to the quote. In 11.5.9, we used to get > 700 rows, but in R12 the no. stays at 200, regardless of the quote or product. It displays 10 rows per page and shows "1-10 of 200" on the right top corner of the table. I'm thinking this is defined/restricted somewhere in the code. Since the VO is populated at runtime (VO query just selects the columns from dual), I'm unable to find where to fix this. Could not find anywhere to fix in personalization either (already tried Records displayed set to 700...does nothing). Would anyone know how to fix this to query all the 700+ rows instead of just 200?
TIA
AlkaHello,
The default number of rows that get fetched in a VO are 200. You can increase the limit on the number of records by using vo.setMaxFetchSize() method.
Refer the below code,
public void initTaskLineItem(String taskNo)
GEPSCSTaskLineItemsVOImpl vo = getGEPSCSTaskLineItemsVO1();
GEPSCSTaskLineItemsVORowImpl tasklineVORow = null;
int intFetchedRowCount = 0;
if (vo == null)
MessageToken[] errTokens = { new MessageToken("OBJECT_NAME", "GEPSCSTaskLineItemsVO1")};
throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
vo.setMaxFetchSize(1000);
vo.initQuery(taskNo);
}//end initTaskLineItem()
This is used to set the number of records to 1000.
And the number of records displayed on the page can be changed by setting Records Displayed property. If you want all the 700 records to be displayed on the single page set it to 700.
Thanks & Regards,
Raj Papdeja -
How to change the limitations of columns?
Here's a screenshot of what I mean:
http://img408.imageshack.us/my.php?image=sarake0al.jpg
This is an album column. The album's name is "The Cream of Female Vocal Trance". iTunes cuts of the name after 30 marks.
Is it possible to change this, so iTunes wouldn't cut these lines after 30 marks?I have iTunes 5.0.1.4
I tried to manually type the album name and now it shows it correctly.
On the other program (Foobar) the names are shown correctly, over 30 marks. When I changed to iTunes it limits the number of marks in every column to 30. So could the problem be in the ID3 version or somewhere?
I won't start to change thousands of songs informations, if they are shown correctly on another program -
How to handle the limitation of 9999 remittance line item for CTX payments
Hi,
I need to send the CTX payment from SAP in XML file format to vendors bank.
SAP F110 -> Treasury -> Our Bank -> FED clearing system -> vendor bank.
Fed Clearing system has a limitation of 9999 remittance line item for CTX payments.
Do we have any standard SAP setting wherein total number of invoice in payment document can be limited to 9999.
Please Advice.Hi ,
First of all the Event R418 as you have mentioned have the structures FKKKO and FKKOP .
In FKKKO you will not get the sub item and in FKKOP you will get the sub itmes .
Before the process gets in to Event R418 it has only 1 line item and hence you are facing the problem .
If you have multiple line items getting in to the FM then you can build the logic based on the Import date that is passed in structure FKKOP .
Else try for the function module FKK_OPEN_ITEM_SPLIT , in R418 where in you can split the document if you are having only 1 entry in FKKOP.
Kindly check and revert back with your findings .
Regards ,
Dewang -
How to break the name column into first,middle,last
hi,
Having a column in a table called employee_name which is
containing the names of employees like:-
employee_name
Syed Azhar Husain
Also having another table having cloumns first_name,middle_name, last_name
I just want to write the query that break my employee_name column into
first name, middle name, last name and
store into table columns first_name, middle_name, last_name respectively
i.e. it should display like
first_name middle_name last_name
Syed Azhar husain
I am using oracle9i database.
Thanks in advance
AzharDear Asuri,
Thanks for quick reply,
your query was working fine when there was one record into the table but when there was more then one record into the table it was giving error "ORA-01427: single-row subquery returns more than one row". So i did small modification in the query as below
SELECT SUBSTR(' ' || name || ' ', INSTR(' ' || name || ' ' , ' ', 1, rn) +1,
INSTR(' ' || name || ' ' , ' ', 1, rn + 1) - INSTR(' ' || name || ' ' , ' ', 1, rn) -1) name
FROM test , (SELECT ROWNUM rn FROM all_objects
WHERE ROWNUM <= ( SELECT distinct(LENGTH(name) - (LENGTH(REPLACE(name, ' ')))) / LENGTH(' ') + 1
FROM test ))
order by name
so above query is working fine with more than one record but there is another problem as i am explaining blow
Suppose there is table called "test" as follows
SQL> select * from test;
NAME
Rajendra kumar jain
syed azhar husain
Chander Shekhar Kumar
when i am putting above query it is giving result as follows
NAME
Chander
Kumar
Rajendra
Shekhar
azhar
husain
jain
kumar
syed
my requirement is that for complete full name like 'syed azhar husain' it should give
name
fist name : syed
middle name: azhar
last name: husain
first name: rejendra
middle name: kumar
last name: jain
first name: chander
middle name: shekhar
last name: kumar -
How to break the limit of 128px for Desktop Icons?
Also by hacking system files, I tried to modify /Users/username/Library/Preferences/com.apple.finder.plist but the values above 128px are still displayed as 128px.
Thunderbird does not set limits. Your email provider does. Ask them.
Maybe you are looking for
-
Hi Forum, I've just started learning ABAP and thankfull for any help. When do a selection over the DFKKOP Table by using one of its Indizes (AUGST, VKONT, BUKRS and AUGDT) it still takes 2 Minutes to get results when testing in a real-data-environmen
-
Installing OS on 2nd internal HD
Hi. I have a second internal hard drive that has data on it. Currently, there is no OS on this drive. I would like to install OS X 10.4 on it so that I can boot to it if needed (repair on 1st hard drive, etc). Is it possible to use my OS X install DV
-
Trying to update a table using DBAdapter and Merge operation. The table has besides other columns creation_date and last_update_date. What is the best way to populate the creation_date and last_update_date to sysdate when inserting a row, and only po
-
An iCal calendar will not stay deleted.
I used to use Entourage but it kept duplicating all my appointments on all my devices so I got rid of it and just started using iCal and it seems to have corrected all the duplicate appointments. But on my iMac there is still an Entourage calendar ap
-
How to change font and font size of textarea item
hi -- I have several form pages which for the most part have text items. However, I do have a few textarea items, and the font and font size of these are defaulting to something different than the text items. How can I change the font and font size o