How to make JScrollpane not to fetch data while scrollbar is adjusting?
how to make JScrollpane not to fetch data while scrollbar is adjusting?
Hi,
I need to make the jscrollpane get data only when the scrollbar stops scrolling.
for instance if I hold the scrollbar's thumb and drag it to pass 1000 records, I want the view to wait until I release the thumb before taking any action( ex. adjust the view). in other words if the value of getValueIsAdjusting() of scrollbar is true, then the jscrollpsne should wait until it changes to false before doing anything. this is the same approach that Outlook takes when browsing through the list of emails in your mailbox.
I don't know how to solve this issue. any help regarding this issue would be appreciated.
thanks
Saba
You are planning to mention your cross-post(s) somewhere in this post, correct?
Similar Messages
-
How to make documents NOT in a "data" format?
So, I created a Speech Script (mac voice recognition)
I got all the kinks worked out. When I say "Fullscreen", Speakable Items.app opens a document called "Fullscreen", which contains the code necessary to operate keystroke control+command+f.
However, Speakable Items.app is telling me it can't open it because
... that. The Fullscreen document looks like this:
So.... yeah. Never knew a doc could be anything BUT in a data format.Oh, wow. Control Key is off. Lemme try that.
Still not working, but now looks like this: -
How will write SQL query to fetch data from each Sub-partition..
Hi All,
Anyone does have any idea about How to write SQL query to fetch data from Sub-partition.
Actually i have one table having composite paritition(Range+list)
Now if i want to fetch data from main partition(Range) the query will be
SELECT * FROM emp PARTITION(q1_2005);
Now i want to fetch data at sub-partition level(List) .But i am not able to get any SQL query for that.
Pls help me to sort out.
Thanks in Advance.
AnwarSELECT * FROM emp SUBPARTITION(sp1);
-
How to make Finder NOT to show files from a specific folder in "All My Files"?
Hello!
Can someone please advice how to make finder NOT to show files from a specific folder in "All My Files"? See the attach - I recently installed Civilization 5 from Steam and now I have a lot of unneeded files (*.log and *.ini) shown in All My Files colder in Finder.
I don't want to see them. Any advise?Using "All my Files" was very handy before all this rubbish popped up. =(
-
How to make users to select the date from calendar control only, by my making the date text field read only (don't want to let users type the date) in date time control in external list in sharepoint 2010. I am looking for a solution which can
be done through sharepoint desginer / out of the box.
thanks.Congratulate you got the solution by yourself. I am new to a
WinForms calendar component, I feel so helpless on many problems even I'd read many tutorials. This question on the
calendar date selection did me a great favor. Cheers. -
How to make buttons enabled after the data is entered in JTextField?
I got a JTextField. I want to test the entered data in JTextField is eight length. If the data is of length eight then i want to enable two buttons. How to make it enable? I am getting the length eight, but the buttons are not enable. What listeners I have to use.
Can anybody help me out.
Thanks for your help in advanced.Create a class that extends KeyAdapter. Add a field that is an array of buttons. Override the keyTyped(KeyEvent e) method to use getSource() to access the text area, check the length of the text, and if > 8, go through the array and enable the buttons in the array. Then, when you create the text area, create an instance of your listener, passing it an array of the two buttons you want to enable, and then use addKeyListener(yourKeyListener) to add your key listener to the text area.
Doug -
How can I get size of fetched data size when run a SQL ?
Hi,
When I run a SQL how can I get fetched data size?
regards,We can get it using some calculations:
1. SQL%ROWCOUNT attribute will fetch you number of rows returned in a SQL statement.
Problem-->Now you need to get the size of 1 row.
Solution-->
Step 1.We can get size of table from dba_segment data dictionary.
Select block_size from dba_segemnts where segment name like '%YOURTABLE%';
Step2 . Get count of rows in your table
Select count(*) from YOUR_TABLE
Step 3.
Get size of 1 row--> Divide result in Step1 by result in Step 2.
Required result--> multiple result in step3 with SQL%ROWCOUNT..
I hope this is what u want. -
ICC file associated with photoshop process on Windows, how to make them not associated?
In my code, an ICC profile is created and copy to the system folder (C:\Windows\System32\spool\drivers\color)
then assign this profile to current document in photoshop using sPSActionControl->Play(&result, StringToKey("assignProfile"), iDescriptor, mode); // iDescriptor contains the ICC profile name
after assigning profile, the .icc file is associated with the ps process, that is, I can't delete it or rename it, nor can I replace it with another file having the same name. But on Mac, the ICC file won't be associated with the process, so I can overwrite the icc file and do other work, that's better.
How to make the icc file not taken by photoshop after assigning profile on windows?what i finally did to go around this problem was to make another user on my computer and only download podcasts. just as long as you don't hook the ipod up in this new profile, you should be fine
-
JDev902: How to make it NOT start up a web browser on debug start?
In my JDeveloper setup, when I click on the bug to start my application, it starts up the embedded OC4J and eventually finishes initializing it. I then go to my already running web browser and request the application URL. This works fine.
My colleagues, however, get slightly different behavior when they click on the bug, at some point during that process it actually starts up another instance of a web browser and tries to go to a particular web page. We all find that very annoying and would like to turn it off. Fortunately for me, it doesn't do that to me. What do they have to do in their environments to make that NOT happen? We don't want it to start another web browser instance when we debug the application.You'd think if the field was blank, it wouldn't do this at all.
I looked at my configuration, and the field is blank.
I went to my coworker's system, whose field was also blank, and who is getting this annoying behavior, so we changed the field to "aaaa". This works. It doesn't bring up the browser window. It does, however, still print out a line in the messages window, like this:
Target URL -- http://<ipaddress>:8992/felix/index.jsp
I do NOT see this message.
So this workaround helps, as it avoids the annoying symptom, but I still wonder WHY I never had this problem, and why I don't see that "Target URL" message, which seems to be related. Both of us have the "Default run target" in our projects set to the same JSP page. -
How to make a filter in a table while giving single character
hi,
i have doubt in filter how to make a filter while giving single character in a table during runtime.
if i give string like(A*) means then how it can retrive the data from the tablelook at:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60d5b593-ba83-2910-28a9-a7a7c7f5996f -
Getting error as Buffer table not up to date while checking EBP order
Hi SRM gurus,
We have one order which is created in the EBP side and the same is replicated in the backend also. Also confirmations and invoices are posted for this local PO. These confirmations and invoices are also carried over to backend. However very recently when we open this order in EBP and when we click either check button (or) change button we get the error indicating that Buffer table not up to date. I have pasted the error message below. We have also checked the ST22 and observed that exception occurred CX_BBP_PD_ABORT and is not caught any where. When do not have any issues with other orders. We have checked the recent changes and we could not observe any recent changes to the order.
Note
The following error text was processed in the system : Buffer table not up to date
The error occurred on the application server bprapz36_SP1_08 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Function: BBP_PD_ABORT of program SAPLBBP_PDH
Form: ABORT of program SAPLBBP_PD
Form: CHECK_VENDOR_ERS of program SAPLBBP_PD
Form: HEADER_CROSS_CHECKS of program SAPLBBP_PD
Form: PROCDOC_DB_CHECK of program SAPLBBP_PD
Form: PROCDOC_CHECK of program SAPLBBP_PD
Function: BBP_PROCDOC_CHECK of program SAPLBBP_PD
Function: BBP_PD_PO_CHECK of program SAPLBBP_PD_PO
Form: CHECK_PO of program SAPLBBP_PO_APP
Form: PROCESS_EVENT of program SAPLBBP_PO_APP
iN BBP_PD the status of this PO is as below.
Stats:
Status Description Inactiv
HEADER I1015 Awaiting Approval X
HEADER I1021 Created
HEADER I1038 Complete
HEADER I1043 Ordered
HEADER I1080 In Transfer to Execution Syst. X
HEADER I1120 Change was Transmitted
HEADER I1180 Document Completed
0000000001 I1021 Created
0000000002 I1021 Created
Please suggest / advice on this.
Thanks & Regards
Psamp1Dear Poster,
As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
Best Regards,
SDN SRM Moderation Team -
Buffer table not up to date while changing contr
Hi ,
While changing contracts in SRM we are getting a message " Buffer table not up to date " and when we click on this message we get a dump with the below information :
This error is occuring in the program SAPLBBP_PDH ,saying :
The exception 'CX_BBP_PD_ABORT' was raised but was not caught at any stage in
the call hierarchy.
"UNCAUGHT_EXCEPTION" CX_BBP_PD_ABORTC
"SAPLBBP_PDH" or "LBBP_PDHU08"
"BBP_PD_ABORT"
Can you please suggest what needs to be done for this case ?
Thanks ,
Suchi.Hi,
Please check this SAP note : 1383589
Regards,
Srini. -
How to make slicer to remember selected values while moving from report to another
I have Power View on SharePoint 2013 and OLAP Cube on SQL Server 2014 solution.
1) I select slicer values and graphs are updated
2) I move to next page on same Power View file and use slicers.
3) I come back to original reports. My slicer valuers are empty.
Is it possible to make slicer to remember selected values while browsing from reports to another?
Ken
Kenny_IHi Kenny_I,
This seems to a by design issue. The selected values within a slicer will be stored in Memory. When we go to another report, the memory will be released.
Best Regards,
Black -
HR abap : how to declare internal table to fetch data from 0585 infotype
Hi all ,
I am able to fetch the data from pa0585 infotype for set of employee no , but the problem is as the fields in pa0585 (like Contr to ULIP , NSC , Medical Treatment,Contribution to Certain Pension Funds so on ..) will be changed dynamically and will be displayed based on the amount value in descending order iam not able to store the values of the fileds into internal table . I dont understand how to declare the internal table ..Please help in if u have solved this kind of problem.
I shld get the output in this way ...
Emp No Name Medical treatment Contr to ULIP ....... so on
101 abc 10000 150000 .......so on
102 xyz 12000 150000 .......so on
My header shld be fixed and I shld display values in this way .... I can use write statement to display directly .
Thanks ....Hi
Decalre INFOTYPE
Goto SE37 - Find FM -
READINFOTYPE* -
How to make JScrollPane scroll faster?
Hi,
I have tried to develop on a program to zoom in or zoom out the image�a graph which is plotted using the method draw from Graphics2D. In the program, I am given about 1000 points, which are supposed to be plotted one by one suing the draw method, which later form a graph.
I have put the JPanel, where the output of the graph is displayed, into a JscrollPane to enable scrolling of large image. However, when I am trying to scroll the image, it happen to me that the scrolling is extremely slow. When I click at the scrolling bar to scroll down the image, it take some time before the image is scrolled down.
My doubt will be is there any method to make the scrolling on the JscrollPane to become faster?does this involve double buffering?
Thank you.This may not be the answer to your problem, but I thought I would throw it out there. One reason it might scroll slowly is because by default the JScrollPane only moves 1 pixel for every click of the scroll bar. You can adjust this by having your JPanel implement the Scrollable interface.
Here is a code sample -
// implement Scrollable interface
public Dimension getPreferredScrollableViewportSize()
return getPreferredSize();
public int getScrollableBlockIncrement( Rectangle r, int orientation, int direction )
return 10;
public boolean getScrollableTracksViewportHeight()
return false;
public boolean getScrollableTracksViewportWidth()
return false;
public int getScrollableUnitIncrement( Rectangle r, int orientation, int direction )
return 10;
Whatever number you have your getScrollableUnitIncrement and getScrollableBlockIncrement methods return is how many pixels your component will scroll for each click of the scroll bar.
Give this a try.
Maybe you are looking for
-
Inutilização de NFE nao atualiza status no R/3
Amigos aconteceu uma coisa muito estranha, Ao solicitar a inutilizacao de uma NFE, o SEFAZ retornou ok codigo 102 Entao no GRC ficou autorizado com status 102 No R/3 o cancelamente foi feito normalmente todos os documentos foram estornados por
-
Is changing from iMac OS 10.6.8 to Yosemite difficult?
What are the problems encountered in changing from iMac OS 10.6.8 to Yosemite?
-
How to factory reset HP 2170p?
I have to use discs that offers me to create a program "HP Recovery Disk Creator", or there is another easier way? I just need to return the laptop to factory condition, removed absolutely all data, programs and settings.
-
Can we design professional PHP websites in Dreamweaver CS6 ?
Can we design professional PHP websites in Dreamweaver CS6 ?
-
Urgent (Oracle 8i late with Jdev)
When I create a new project with the wizard I have a problem with the connection to my scheme (Oralce 8i late)(Polite is the database of the oracle 8i late). I can connect suceful but, I can't see the tables, the program say me that SQL Error POL-513