I do not understand Scroll Bars!!
OK, here is my code:
JList List = new JList(Definitions);
JScrollPane scrollableList = new JScrollPane(List); If it is any help, definitions is a string array.
So, now that I have that, and please read this whole question, which do I add to the pane? List or scrollableList? Also even if i do add both of them to my pane, I don't see either of them having a scroll bar! If scrollableList is now my Listbox, how do I add event listeners to it? the regular JList listeners do not work. I want the user to be able to scroll down, view all of the strings in the listbox, and I want to be able to write an event handler for every time they select a new index. Can anyone please help me?
thanks, lateralus
Before doing anything I'd go here:
http://java.sun.com/docs/books/tutorial/uiswing/components/list.html#scrollingapi
Check out what the programmer did on "how to display the list."
Then see what methods they called for the actual JScrollPane
And, you DO add the JScrollPane object to the panel.
Similar Messages
-
ICal - long notes disappear/scroll bar problem
I'm having issues typing in long notes in iCal. When I'm typing in the "Note" field, and I'm typing a lot, at some point my text disappears below the bottom of the pop up box (e.g. the box doesn't keep scrolling down as I type). Then I have to manually click and drag the scroll bar down to reveal what I just typed. But if I start typing again, the scroll bar jumps back up, hiding what I'm typing again. Has anyone else experienced this?
-> 3) Changed the default Window width to 5 and it's height to 12
Don't do that. That apparently guarantees the problem you have.
The Window size should be no larger than will fit on the user's screen, and the user running the lowest screen resolution should be your target. We create forms no larger than will fit on the 800x600 layout. Our forms always use the Real,Pixel coordinate system, and I create forms with the window size set to a maximum of 784x442. Those reduced numbers allow the form to fit within a browser window in web forms. Our forms run under both 6i Client/Server AND Web, and there is a pre-form that adjusts the web form window size a little larger, but that is all.
Also, when you run your form, that scrollbar you see is there because your window is not maximized. Our forms always maximize the window, and even have a when-window-resized trigger with this:
<pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">DECLARE
W0 Window := Find_Window('WINDOW0');
BEGIN
If Get_Window_Property(W0,Window_State)<>'MAXIMIZE' then
Set_Window_Property(W0,Window_State,Maximize);
End if;
END;</font></pre>
The wwr trigger ensures the user never sees the Window0 border -- it is useless unless you are running a form with multiple windows, which we never do.
So.... Maximize your Window0, and then you will see the behavior I have been describing. Create a stacked canvas with a vertical scrollbar, and it will behave even better. -
TextArea component - not giving scroll bar
I'm using Flash CS3, exporting to Flash Player 7.0, using
ActionScript 2.0.
I have a TextArea component in a movie clip that is not
showing the vertical scroll bar when there is too much text to
display in the defined area.
In fact the scroll bar doesn't even show if I set the
vScrollPolicy to true....
Another programmer in my group is also using - in another
movie clip in the same fla - the UIScrollBar component attached to
a dynamic text field - that worked at one point then now is not
working.
Is there some conflict in using these components?
Any ideas?
thanks in advance,
LisaMake sure that you have the ScrollBar component also in your
library. TextArea needs it I believe. -
The publisher of our text books have an online resource we use to access materials that requires the use of Adobe Reader. For the past few days I have been unable to navigate through the site because there is not a scroll bar or any method to move through the list using the navigation bookmarks provided for that purpose. I have spoken, at length, with the online support team at the publishing company, and we have tried many trouble shooting steps. The technician I was working with also checked on the Adobe website to see if he could find anything else. He and I are both at a loss. As the problem doesn't seem to be on his end (the publisher, website, etc) or my end (my settings for PDF on my computer, version of Adobe, platform, etc.), I am hoping someone might have an idea of how to help solve this issue.
My operating system is Windows 7, I've tried both Chrome and Mozilla Firefox, and the Reader version is 11.0.09. In Chrome, the Adobe PDF plugin has been enabled and "always allow" has been selected. The Chrome PDF viewer had been disabled. The adjustments have also been made in Firefox to use Adobe Acrobat.
I appreciate any help or advice you are able to offer. -
Horizontal scroll Bars not coming in JTable
Hi,
If a user streches any column of the jtable to the right such that its values are not visible properly. Then should the horizontal scroll bar come in the scrollpane in which table is there.??
If Yes then how can I do it?
I have seen when no of rows becomes more than the display area of the table then vertical scrollbar are coming automatically. but not Horizontal scroll bars.
Please helpsorry for my previous mistype, here is the right solutions to your problem.
As default the JTable will auto resize your column width, if you want horizon scrollbar
you must do following below steps:
JTable tableview = new JTable (model) ;
tableview.setAutoResizeMode (JTable.AUTO_RESIZE_OFF) ;
JScrollPane scrollpane = new JScrollPane (tableview,
ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED,
ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED) ;
JPanel p ;
p.add (scrollpane) ;
This can works for you ! -
Please help me to get the wireframe component scroll bar to actually scroll??
I can't seem to figure out how to get this working?? I have a page that is long and needs scrolling capabilities. Blargh.
GinaHi RemsX,
I'm glad you found some steps that worked for you, but you should be able to set up a scroll panel more easily without those strange extra steps. Try the following:
Draw a few rectangles (say, 5) arranged in a vertical stack.
Place a wireframe Vertical Scrollbar to the right of the rectangles.
Select everything and Convert to > Scroll Panel
Double-click to edit the Scroll Panel
Select all the boxes -- but not the Scroll Bar, and Convert to > Scrolling Content
You should now see a dotted-line bounding box surrounding the rectangles. Drag the bottom of the dotted-line box upwards, so that the bottom one or two rectangles are hidden (clipped).
File > Run, and verify that dragging the scroll bar causes the stack of boxes to scroll.
Does that work for you? You shouldn't need to convert anything to a generic component or graphic, or place the scrollbar inside the content... If you're having trouble with the above steps, please post back with details about which step didn't work out and we'll try to help more...
- Peter -
No Scroll bar with JTextArea on unix machine
hi am using JTextArea with Unix machine... The problem is not enabling scroll bars
can anyone help meJTextArea agreeTxt;
agreeTxt = new JTextArea(11, 42);
agreeTxt.setAutoscrolls(true);
agreeTxt.setLineWrap(true);
agreeTxt.setEditable(false);
JScrollPane pane = new JScrollPane( agreeTxt );Now add the JScrollPane object to your JPanel or where ever you have your JTextArea -
Scroll Bars Missing In New Item Dialog Box When Accessing Other Site Collection
I have run into a problem I am hoping someone can quickly inform me of what I am doing wrong. I am creating 2 hyperlinks on a page that will create new items in one of 2 separate lists (1 on each site collection). I tried using the same code in my CEWP for
each and encountered a funky issue, whenever I access a different site collection with the below code the dialog box says DIALOG for the title and there are no vertical scroll bars. Does anyone know how to tweak the below code (or improve it) to bring back
the scroll bars for the dialog box?
<div class="ms-rteThemeFontFace-1" style="text-align: center; text-decoration: underline"><a class="ms-rteFontSize-3" onclick="javascript:NewItem2(event,"Site URL IS Here/_layouts/listform.aspx?PageType=8&ListId={22980de9-0d12-4def-9df7-95de34b1ebe5}&RootFolder=");javascript:return false;" href="/_layouts/listform.aspx?PageType=8&ListId={22980de9-0d12-4def-9df7-95de34b1ebe5}&RootFolder=" target="_self"><strong>Add New Project Item</strong></a></div>
I am eternally grateful to anyone that can tell me what I am doing wrong.
Thank youHi,
Thanks for posting your issue, Kindly refer below mentioned URLs to fix your issue
http://sharepointblogbyshri.blogspot.in/2013/10/sharepoint-2010-modal-dialog-scrollbar.html
http://blogbaris.blogspot.in/2011/02/no-scrollbar-in-sharepoint-dialog.html
https://social.msdn.microsoft.com/Forums/sharepoint/en-US/37385ef6-5773-47b8-a86a-c5317f6983e5/sharepoint-2010-survey-form-new-item-not-showing-scroll-bar-in-yaxis?forum=sharepointcustomizationprevious
I hope this is helpful to you, mark it as Helpful.
If this works, Please mark it as Answered.
Regards,
Dharmendra Singh (MCPD-EA | MCTS)
Blog : http://sharepoint-community.net/profile/DharmendraSingh -
Can anyone help with ensuring Scroll bars are functional on
browser window?Rob,
Thanks for staying with this. Unfortunatly, I am not getting
scroll bars on Mac or PC, IE, Firefox and Safari. I called Tech
Support and they told me the same thing. They suggested a fix of
placing an empty paragraph after the embedd tag, which I did and
vertical scroll bars appeared. It does not scroll the whole movie
however.
I use the default html generated by Flash with the new Active
content .js file.
If you go to these sites, you can tell me if you see scroll
bars.
http://www.alphagraphicsseattle.com/bba/
and
http://www.djsloth.com/ -
Hello,
There is table control in my program and screen.
This object with created table control wizard.
This object on scroll bar(ver.-hor.)
I want to not see scroll bar.(visible = false)
Pleace help me.
Thanks.Hello Melih
I do not think that we can effect the scroll bars. If the size of the screen/dynpro is sufficient to display the entire table control then there should be no scroll bar. If the screen is smaller than the table control then the GUI automatically displays the scroll bars (which makes perfect sense).
Regards
Uwe -
EBay 'My Messages' scroll bar error in Firefox 3.6.20. Does not
Windows 7 Home Premium 64 bit
Firefox 3.6.20
There is a problem with the scroll bar in Firefox 3.6.20 when displaying eBay 'My Messages'
There are 26 message headers per page (in both IE 9 and Firefox 3.6.20).
Both browsers require scrolling to view the full 26 headers per page.
IE allows 3 presses of the touchpad on the space under the scroll button. All 26 headers per page are correctly displayed.
Firefox only allows 2 touchpad presses, giving the impression that the bottom of the page of headers has been reached. The impression is given that all 26 headers have been displayed, but only 15 have been seen.
To see all 26 it is necessary to use the 'down arrow' on the keypad.
Firefox hides 11 message headers when the page is scrolled using the side scroll bar.
I think this is a bug.
I do not want to use IE 9 or Firefox 4.0
RegardsI hate to sound like a broken record, DONE THAT ALREADY. _ _ _
I've ALSO learned to reboot after an uninstall then manually delete any residue in said uninstalled program. I've also gone as far as REGISTER searching for program residue and deleting that WITH reboot of coarse to be sure nothing has gone wrong. _ _ _ NEXT suggestion? I suggest FireFox fix there software. _ _ _ BY-THE-WAY,... I have also gone through my mouses buttton choices for my #5 button. Everything works but the "Auto-Scroll". One tab down/up/right/left works, one page down/up/left/right works. _ _ _ I used recently tried and successfully used the Auto-Scroll in Netscape, Opera, My Browser, Ace Browser, Chrome, and 2 others that escape my memory. _ _ _ PLEASE READ and understand this. >>> It's FireFox's software that is stopping this, not my mouse or PC. -
BP Transaction Horizontal scroll bar is not working
Hi,
Horizontal Scroll Bar Not working for Marketing Attribute after Upgradation from Crm 6.0 to EHP 7.02
Scroll bar need to be Enabled or active Please suggest any OSS Note or any Idea in doing this .Please help me out
Thanks & Regards
SrinivasHello,
Not sure to understand the issue here. If you are using CRM7 EHP2, you should user WebUI/IC to manage BP. SAP GUI is no longer supported.
Best regards,
Sylvain AGUETTAZ -
Hi,
Suddenly while working with Firefox if I happen to drag the vertical scroll bar, a very abnormal behavior occurs. My screen dances up and down for a short time before either going black or getting restored but with no clicks working. The only way to resume is to force a restart of the system.
Any help would be deeply appreciated.
Thanks and Regards
DeepakThat didn't work. On trying to install a new driver I got the error the graphics driver could not find compatible graphics hardware. Is there anything else that can be done to at least prevent the hanging of the computer even if it means less features from Firefox being available?
-
Conditions in Purchase Order - No scroll bar/Sales Tax value not in mmr
Hello,
I am stuck in a weird problem where I have created a Condition Calculation Schema, assigned it to Schema group and assigned that schema to vendor, but when i open my condition in the PO, it does not give me scroll bar i.e. I have calculation Schema with around 10+ conditions, but when I try to put all the conditions in PO at one time, the scroll bar doesnot come up and without it, I cannot view all my conditions in the PO. Its saving the conditions though as seen in report, but cannot display it in PO without the scroll bar. Any ideas?
Another assignment is that sales tax value and % should not increase the mmr value at time of GR, but when I do GR its adding the sales tax value to mmr value, my requirement is just Gross price be added to mmr, not sales tax value/%. I tried the Statistical checks in Calculation Schema, but to no vail, at GR the sales tax value is being added to the mmr record. Any ideas?
Lots of points awarded for answer/answers.
Any clue will help
Thank you/Afshad
Edited by: Afshad Irani on Jan 14, 2009 10:27 AM
Edited by: Afshad Irani on Jan 14, 2009 2:32 PM
Edited by: Afshad Irani on Jan 15, 2009 6:19 AMQ Another assignment is that sales tax value and % should not increase the mmr value at time of GR.
Ans:
Dear Afshad,
Reference to your question, you need to do few settings in your Condition Type and Pricing Schema, if you need Sales Tax value & % not to include in your Material value.
1 - In SPRO, Check that in your condition type, Control data 2 tab, Accruals check box should not be selected.
2 - In your Calculation Schema, against your condition types for Sales Tax % and Sales Tax Value, select the check box for Manual & Statistics.
3 - Also in your Calculation Schema, you should not select any account key in AccKey (Account Key) and in Accruals colomns.
If any one of these setting is not defined, the valuation price for your material will be increased due to the fact that your settings for Condition type and Calculation Schema is allowing the same to hit the value of your material directly.
Hope it works for you.
Regards
Jibran -
Have seen some other questions similar to mine and they may be about same issue , but they say that the scroll bar vanishes, in effect it is still there but nearly invisible. Trying to click on it without knowing the exact location however causes the page to scroll uncontrolled. The other questions advised people to reset their browser to default but that didn't help at all. Have had this same issue for about the last 6 versions of firefox, all say in the 30s versions. Tried adding high contrast in Windows as an experiment but that didn't help at all either. Been trying help for some time and just now decided to ask my own question as other questioners may have given up or answerers may think it is resolved.
In searching through help files it has led me to find a space based theme for the browser that I enjoy, but does not solve issue of course, so... all is not lost. Took a jpg of the image of the browser that shows the issue and am trying to upload it but looks like it is stuck in upload mode. Ugh "high speed" , anyhow maybe it uploaded and is not showing, the bar on the right is about 3/4 of the way down the side if you can see it, almost invisible.Did you try Firefox Safe Mode?
Maybe you are looking for
-
Ipod Touch keeps crashing - can't open any apps
I have a 4th generation iPod Touch that is barely over a year old. About a week before the warranty expired, the power button quit working. I arranged to send it in for repair but was hesitant because when I sent my nano in, I received a refurbishe
-
Does anyone know, how to fix ' This installation package could not be opened. Verify that the package exists and that you can access it, or contact the applikcation vendor to verify that this is a valid Windows Installer package." ?
-
I am in filtering the data extraction for Jan 2010 only in the applicatioin and in the BI cube only Jan 2010 data exist. But in the BPC YTD balance report..It is showing the Jan 2010 actual amounts and Feb 2010 amount as inverted amount of Jan 2010.
-
Everything is functioning fine on my mac; but my terminal is blank and won't accept input. Just blank. Just get a normal error sound
-
Re-installing 10.3.9
Hello. My iBook G4 running OS 10.3.9 is constantly crashing, so I've decided to reinstall the operating system. However, I am a bit confused. My iBook came with three CDs: OS X install Disc 1; OS X install Disc 2; and an Additional Software and Apple