Right margin ? and JSrollBar question
To keep my components from being too close to the edge on the left hand side of my app, i use:
container.add(Box.createRigidArea(new Dimension(5,0)));
My question is how i can acheive the same 5 pixel wide margin on the right handside of my container. If i do 'newDimension(5, (getWidth() - 5))' will this be respected as the component is enlarged or is there a better way ?
Secondly i have 2 JScrollBars (each with a JTable) in a splitPane, the horizontal scroll bar outline always shows but never with the blue bar part. Here is the relevant code:
JScrollPane s1 = new JScrollPane(getTableA());
JScrollPane s2 = new JScrollPane(getTableB());
JSplitPane spl = new JSplitPane(JSplitPane.VERTICAL_SPLIT,s1, s2);
s1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
s1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
s2.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS); s2.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
void set(Container pane){
pane.setLayout(new BoxLayout(pane, BoxLayout.Y_AXIS));
//returns the split pane above
pane.add(getSpl());
}Thanks for the help
Regarding the margin, it appears i can't apply this to a container. Is there another way ?Borders are only for Swing components so you would at the Border to the panel you added to the content pane.
if the table doesn't resize to the size of the application it looks very bad indeedIf the table resizes to the size of the application then there is no need for horizontal scrollbars.
Similar Messages
-
I have an extremely long and important email thread that has become unprintable (and in some cases unreadable) because each preceding email in the thread is indented and eventually the text is very far to the right margin and even beyond. Some of the text is even showing up as only 1 letter per line. I tried selecting all and then left justifying it, thinking that that would shift everything to the left, but it didn't work. When I go to print the thread, it shows as 344 pages, which although long, I can't believe it's that long. What do you think happened to cause this and can it be corrected?
Ick. So it can't just work sensibly? Sensible would be either autosave overwrites previously autosaved versions or all autosaved versions would be deleted when the message is finally sent. Allowing previous message versions to accumulate endlessly might be beneficial to someone, but does not seem like sensible default behavior.
-
Like I said above, print to Adobe pdf and it wants to cut off the text on the right margin. I can't see to find a setting that changes this. Any ideas??
OK, so I have now found that this is apparently normal for iTunes, to only accept mpeg 4 movie files, all the searching I did before I must have worded it wrong because I couldn't find anything about this, incredibly. Had been looking for why iTunes won't take all the files it previously did, like if it had been changed, and it hasn't, it's allegedly always taken only mpeg 4 files. Also I had been searching for why iTunes crashes every time I try and add/import anything but mpeg 4 files, and even sometimes with mpeg 4 files. That isn't normal, it's supposed to just do nothing apparently as I've just found out. So for these reasons I didn't find the answer despite my searching all over the web.
So I guess that answers my own question now, but I'm still perplexed as to why I absolutely, definitely, without any doubt, had several hundred movies of a few different video file types loaded, accessible and playable in my iTunes library that everything here claims iTunes never accepted. It apparently shouldn't have been possible for me to have done this, but for probably 10 years it's been this way.
Perhaps since I don't remember adding these files to iTunes anymore recently than maybe 6 or 7 years ago, the iTunes back then did accept all kinds of file types? Or could I have somehow had some video codecs or software that expanded the capability of my movie players like Quicktime Player that unwittingly also allowed iTunes to take those files as well? All I know is somehow it worked! So now my question is how did I have it working before, so that maybe I can make it work again. -
The HUD Inspector in Full Screen View seems to position at the right margin of the image as a default(?) If I toggle the button in the top right of the HUD it 'unlocks' and I can drag it to where I prefer -- at the left margin; (for over a decade) my dock has resided at the right margin so all my slider manipulation over countless editing sessions in Aperture has been ingrained to work at the left margin -- but, the vast majority of the time, the HUD overlaps the image I am editing in this 'unlocked' mode.
Every occasionally I enter Full Screen View and it positions on the left margin *without* superimposition...(!) My great joy is modulated into aggravation, however, should my tracking cursor drift all the way 'out of bounds' -- to call in the hidden pane of adjacent images sequenced in the library... This dramatically shrinks the Full Screen display and re-locks the HUD; if I toggle the switch to re-xpand the image it re-positions at the right margin!!!! I SOOoooooo wish I knew how to control the default 'locked' margin of the HUD in Full Screen View...Drag it over to the Left. Then lock it there.
-
Question about Noise Margin and Line Attenuation a...
1. For several years I have had a BT telephone line. From the utilities provided by http://www.kitz.co.uk/adsl I find that I am connected to the Exchange at Merton Park (BT Code: LSMEPK) Distance:- Direct: 960 metres (appx)* By Road: 1.29 km. Exchange Status ADSL enabled: March 30, 2000 DSL Max enabled: March 30, 2006 SDSL enabled : Enabled 21CN due : (PSTN) N/A 21CN WBC (Broadband) Enabled 15.02.09
2. I previously had broadband from UKOnline and used a Speedtouch 570 adsl modem. I was paying £9.99 for a speed of 1MBit/s – in practice 700K – which was fine for most purposes but BBC iplayer did struggle a bit. UkOnline has been taken over by SKY so I switched to BT Total Broadband Option 3 in mid December, and initially used the Speedtouch 570 as there were delivery delays on BT Home Hub 2.0 due to weather conditions. Speed was initially very good but did not measure it.
3. After Xmas I set up the BT Home Hub and ran a speed test - the profile was 2.5MBit/s. I was disappointed to get less than 3Mbit/s which is needed for BBC iplayer HD.
ADSL line status
Connection information
Line state Connected
Connection time 0 days, 2:26:57 ------> 6th January 2011
Downstream 2,268 Kbps
Upstream 440 Kbps
ADSL settings
VPI/VCI 0/38
Type PPPoA
Modulation ITU-T G.992.5 ---à this apparently means ADSL2+
Latency type Interleaved
Noise margin (Down/Up) 15.7 dB / 31.9 dB
Line attenuation (Down/Up) 27.0 dB / 9.7 dB
Output power (Down/Up) 0.0 dBm / 12.7 dBm
Loss of Framing (Local) 22
Loss of Signal (Local) 3
Loss of Power (Local) 0
FEC Errors (Down/Up) 6512 / 0
CRC Errors (Down/Up) 0 / 2147480000
HEC Errors (Down/Up) nil / 0
Error Seconds (Local) 2
4. As part of the “slow speed wizard” I looked into getting the accelerator plate for my NTE5 split face master socket available for postage only (£1.20) but the web form advised me that if I proceeded with this order the broadband contract would automatically be extended by 12 months. I checked my BT internet account and was surprised to find an email (23rd Dec 2010) advising me that as an Option *1* customer I was in danger of exceeding my usage allowance – which surprised me as I am definitely Option 3. I wondered if I had had the speed throttled. Therefore phoned BT accounts who said the email was a mistake - I am Option 3, also said that accelerator plate was unlikely to make a difference.
5. I contacted the BT call centre who talked me through various options. Plugging the hub direct into the master socket made no difference. They also ran a line test and said the line was fine.
6. I therefore browsed the community care forum and find that disappointing speeds are not uncommon. One of the threads mentioned disconnecting the bell wire on the extensions. I follow this advice and removed line 3 on all extensions and then checked the ADSL status on the hub.
ADSL line status
Connection information
Line state Connected
Connection time 0 days, 6:33:45 10th January 2011
Downstream 2,272 Kbps
Upstream 888 Kbps
ADSL settings
VPI/VCI 0/38
Type PPPoA
Modulation ITU-T G.992.5
Latency type Interleaved
Noise margin (Down/Up) 31.8 dB / 14.4 dB
Line attenuation (Down/Up) 27.0 dB / 9.7 dB
Output power (Down/Up) 0.0 dBm / 12.3 dBm
Loss of Framing (Local) 0
Loss of Signal (Local) 0
Loss of Power (Local) 0
FEC Errors (Down/Up) 0 / 0
CRC Errors (Down/Up) 0 / 2147480000
HEC Errors (Down/Up) nil / 0
Error Seconds (Local) 0
7. This had a dramatic improvement on Upstream speed – and a big change to the noise margin Noise margin which had been (Down/Up) 15.7 dB / 31.9 dB and is now Noise margin (Down/Up) 31.8 dB / 14.4 dB. It did not improve the download speed.
8. In the following days the BT hub has not been particularly stable with some intermittent loss of wireless connectivity every few hours. Examining the event log I was a bit disconcerted to see alterations to firewall settings had happened (which I hadn’t made) and resets which I am pretty certain I hadn’t made – and a userid login with a name like TR69. Perhaps these are occasioned by the BT speedtester? To be fair I had reset and powered off the hub a number of times in attempt to sort out this problems.
9. I have switched to a Netgear DG83GT (V1.03.23) for the time being until I have what I can regard as a reasonably fast stabile connection. At the time of writing this has been stable for 20 hours DownStream Connection Speed 2268 kbps UpStream Connection Speed 888 kbps.As stated earlier I would like downstream to be faster.
The perceived wisdom on the forum seems to be that several days of complete stability are required if there is to be any improvement on speed.
10. If a moderator or anyone with the relevant experience reads this I would be very grateful for answers to the follow questions:
A. Is the change in the Noise Margin parameter a good thing or a bad thing?
B. Are the line attenuation figures acceptable for a distance of under 1.5kilometres to the exchange?
C. Should I be able in theory to get a faster speed i.e. downstream 3Mbit/s?
D. From the forum it seems to take several days for speed adjustments to be effected or to take effect – is this a technical issue or a policy issue?
Many thanks.
Robert
Solved!
Go to Solution.Good Morning - it is now 6 days since this posting. During this time there have been 2 resets of the adsl line
Fri, 2011-01-14 03:28:43 - LCP down.
Fri, 2011-01-14 03:28:54 - Initialize LCP.
Fri, 2011-01-14 03:28:54 - LCP is allowed to come up.
Fri, 2011-01-14 03:28:54 - CHAP authentication success
and
Sun, 2011-01-16 16:37:26 - LCP down.
Sun, 2011-01-16 16:37:36 - Initialize LCP.
Sun, 2011-01-16 16:37:36 - LCP is allowed to come up.
Sun, 2011-01-16 16:37:36 - CHAP authentication success
These were not initiated by me - and since noise margins and sync speeds changed as a consequence can I assume that this is evidence of the adaptive process working?
Secondly, as you can see, the noise ratio has vastly improved as have the upstream and downstream sync speeds
System Up Time 157:54:52
ADSL Link Downstream Upstream
Connection Speed 11199 kbps 1091 kbps
Line Attenuation 27.0 db 9.9 db
Noise Margin 14.8 db 9.2 db
BUT from the BT speedtester, as shown below I seem to be stuck in a banded IP profile of 1750/1091 which is very different from the downstream sync speeds of 11199 Kbps(DOWN-STREAM)
Can BT staff take action to alter this? If they can how do I contact them?
Regards,
Robert
18th Jan 2010
Download Speed 1288 Kbps
0 Kbps 2000 Kbps
Max Achievable Speed
Download speedachieved during the test was - 1288 Kbps
For your connection, the acceptable range of speedsis 800-2000 Kbps.
Additional Information:
Your DSL Connection Rate :11199 Kbps(DOWN-STREAM), 1091 Kbps(UP-STREAM)
IP Profile for your line is - 1750 Kbps
The throughput of Best Efforts (BE) classes achieved during the test is - 2.28:10.77:87.0 (SBE:NBEBE)
These figures represent the ratio while sententiously passing Sub BE, Normal BE and Priority BE marked traffic.
The results of this test will vary depending on the way your ISP has decided to use these traffic classes.
2. Upstream Test: -provides background information.
Upload Speed 896 Kbps
0 Kbps 1091 Kbps
Max Achievable Speed
>Upload speed achieved during the test was - 896 Kbps
Additional Information:
Upstream Rate IP profile on your line is - 1091 Kbps -
Enlarged photos show white borders on left and right margins
Should these white margins be present when viewed in enlarged format? I can't get rid of these left and right margins when printing 4x6 borderless format so I assume it needs to be corrected in iphoto first.
Did you crop your photos?
Most digital cameras use a 3:4 aspect ratio. When you print onto 4X6 paper, you will have bands on the sides of the photos. It's the same thing as watching a "letterboxed" movie on television with the bands at the top and the bottom. -
Remove left and right margin when display portlets
What is the best way to remove the left and right margin when display portlets?
I found a file called \portalpages\dotnet\prod\src\com\plumtree\portalpages\browsing\myportal\/
MyPortalContentView.cs
But I do not see a place for the left and right margins. What is the correct place to modify these margins? (How about the top and bottom margins too?)
See the green highlight?That's it yeah, seems to curve upwards at the sides. Dunno whether leaving a heavy book on it might sway it back into position?!
I had the display upgraded when I bought it so presumed it could have been done whilst 'in operation'. Apart from that there's nothing wrong with it really, doubt it's something they would take it back on anyway. -
i downloaded microsoft office to my MBP and my question is how do i get the right file or operating system to open it and so that i can use it?
Welcome to the Apple Support Communities
There are two Office versions: Office for Windows, and Office for Mac.
I suspect that you have downloaded Office for Windows, and you can use it if you install Windows, but a cheaper and easiest way to use Office is to use Office for Mac, so you won't have to install Windows. See > http://www.microsoft.com/mac -
How to adjust the left and right Margin in PDF
Hi,
I've a dashboard ,when i open this dashboard in PDf , left and right margin are not in sink. How to adjust those margins.
Thanks,
MalliHi,
there are only two joins available for InfoSet in BI.
For more details about Infoset joins you may refer following SAP documentation or serch at forums.
http://help.sap.com/saphelp_nw04/helpdata/en/ed/084e3ce0f9fe3fe10000000a114084/frameset.htm
I hope it will help.
Thanks,
S -
Split header at the left and right margins
I want to split my header where the book name is by the left margin and chapter title on the right margin. Is this possible?
Hi Jerry: This is my issue. As you can see, I have to tab over and then space over to get it over to the right margin. Seems like quite a silly issue, but I can't figure this one out! Also, in my format toolbar, I can't find the tab that's in your screenshot, nor do I find it when I go to customize toolbar. I'm sure this is an easy fix, and I'm overthinking it.
Thanks for responding.
Eleni -
Justify left and right margins of text
Is there any way to justify both left and right margins of text in the P Pro CS5.5 titler?
TIAColin,
That is correct. I would guess that it was added about PS ver. 4.0, when Text went from Raster to Vector, while working in the Image. The Paragraph Palette controls Justification.
Jay,
Thanks for the Feature Request. While I seldom alter Justification in Titler, there are some other aspects from PS (and AI and InDesign), that would be useful, such as full Alignment. I keep requesting that, plus some others (Spell Check would be nice, but even PS does not offer that... ), but so far, Adobe has either not been able to adapt Titler, or there have just been too few requests. As Adobe has added concentration on PrPro, it might well be that more requested features will begin showing up. Here's hoping.
Good luck,
Hunt
PS - for major Title work, I usually just go to AI, and then PS (or maybe only PS) to create them as PSD's. Titler is quite good, and so very useful, but when I want/need more, I just fire up another Adobe program. -
i am in Iraq right now and i cannot make any schedule for having a call with your support team , however, i forgot the answer for security questions , and also previously i have not summited a rescue Email address is there any way to reset my account?
Please be aware that you are not communicating with Apple when you post in these forums. These are user-to-user support forums, so in almost all cases the only people who will reply to your posts are, like me, your fellow users.
As to whether you can work with Apple via email on this issue I can't say for sure, but you can contact them via this web page:
http://www.apple.com/support/appleid/contact/
and see if they can help. It's mostly going to be an issue of you being able to prove to them that you are the account owner.
Regards. -
Hi there,
When I create a Folio Builder and I check my Id project in the Adobe Viewer (It happens in the Ipad App and in the Desktop Viewer), I can see a black line in the right margin (maybe 4 px). And I can't adjust my background (It's an object with a colour) to use the "full resolution available for the app in the ipad", and yes, I'm using rules and I can see that my background object it's 1024 x 768. I have tryed several projects and upgraded the project to the "30 version".
But I'm a new user with ID/DPS. So, is this a reported bug? Or I'm doing sth wrong?
And for me, the most important question, will this problem be solved when I send my project to the applestore and DPS transform my Folio to the Store? Or what I see now it's what I will see?
Thanks!Sorry! I have found an answer here in the discussion:
http://forums.adobe.com/message/5835960#5835960
So, the problem will be solved in the final app, and it's just the scroll in the Viewer.
Thanks! -
My Oracle Support documents print with text cut off on the right margin
Just a question to check if more people have this issue. When I try to print a document from the knowledge base on My Oracle Support (MOS) it always prints with a lot of text being cut off on the right margin of the page. I tried this with different workstations, OS'es (XP Pro, W7), browsers (IE6, IE8), printers, etc. but it's always the same result. My only workaround is to copy all text and paste it into a text editor. I've logged a service request for this, but Oracle doesn't really seem to care about it and after pointing me to setting margins in Microsoft Publisher (???) and an article on how to export tables on MOS, they pointed to the HTML version of MOS (which has exactly the same issue by the way) and our local IS department for printing preferences. Apparently they cannot replicate this on their workstations, whereas I can replicate at will on a load of different workstations. I know that it's best not to print on paper and read on the screen, but even printing to a PDF writer will cut off text. Does anyone have the same issue with printing documents from MOS?
Just a question to check if more people have this issue. When I try to print a document from the knowledge base on My Oracle Support (MOS) it always prints with a lot of text being cut off on the right margin of the page. I tried this with different workstations, OS'es (XP Pro, W7), browsers (IE6, IE8), printers, etc. but it's always the same result. My only workaround is to copy all text and paste it into a text editor. I've logged a service request for this, but Oracle doesn't really seem to care about it and after pointing me to setting margins in Microsoft Publisher (???) and an article on how to export tables on MOS, they pointed to the HTML version of MOS (which has exactly the same issue by the way) and our local IS department for printing preferences. Apparently they cannot replicate this on their workstations, whereas I can replicate at will on a load of different workstations. I know that it's best not to print on paper and read on the screen, but even printing to a PDF writer will cut off text. Does anyone have the same issue with printing documents from MOS?
-
Query Panel field extends beyond right margin
I've a .jspx with a Query Panel. The problem is that the search field for a 500-character string attribute extends beyond the right margin; so if a user enters a long search criterion, the user can never see the entire criterion.
Is there a way to force such fields to be multi-line; in other words, to be the functional equivalent of an af:inputText with the Rows attribute set to greater than 1? I've tried setting various combos of af:query attributes, but to no effect, so would appreciate some advice:
Here is the relevant part of the page source:
<f:view>
<af:document id="d1">
<af:messages id="m1"/>
<af:form id="f1">
<af:pageTemplate viewId="/mainTemplate.jspx" id="pt1">
<f:facet name="content">
<af:group id="mainGroup">
<af:panelGroupLayout layout="vertical" id="pgl1">
<af:panelHeader text="#{viewcontrollerBundle.ACCESSIBILITY}" id="ph1"
helpTopicId="APP_HELP_RECONSTRUCTION">
<af:query id="qryId1" headerText="Search" disclosed="true"
value="#{bindings.AccessibilityMasterDetailsJoinedVCAltContainsQuery.queryDescriptor}"
model="#{bindings.AccessibilityMasterDetailsJoinedVCAltContainsQuery.queryModel}"
queryListener="#{bindings.AccessibilityMasterDetailsJoinedVCAltContainsQuery.processQuery}"
queryOperationListener="#{bindings.AccessibilityMasterDetailsJoinedVCAltContainsQuery.processQueryOperation}"
resultComponentId="::resId1"
criterionFeatures="matchCaseDisplayed"/>
</af:panelHeader>
<af:table
</af:table>
</af:panelGroupLayout>
</af:group>
</f:facet>
</af:pageTemplate>
</af:form>
</af:document>
</f:view>
Versions: JDeveloper 11.1.1.4, ADF Business Components 11.1.1.59.23. Same issue occurs in both Firefox 3.n and IE 8.n.
Thanks!Thanks Suresh. That solves the most important part of the question, it makes for a huge improvement.
What i am also wondering is whether on a query panel the search field can be made to display as 'multi-line'. for example, a Display Width of 175 keeps the entire search field visible sans extending beyond the right margin. However, if the user has a search string of more than 175 chars - which could happen in our use case - the user still has to 'scroll' to see the remaining characters (this is a 500-char attribute). So I am wondering if ADF provides the ability to make the search text box display as multi-line.
After following your suggestion i also tried settting the Display Height control hint to 4. But the field rendered in the browser as a 1-row field.
Maybe you are looking for
-
Is this version complies with my requirement? WinEntforSA SNGL UpgrdSAPk OLP NL Acdmc Part Number: CW2-00204
-
Pages for iPad - how to change left column in modern photo resume
Hi there ladies and gents. I've spent the better part of an hour poking around and researching this, but I think I just need to ask an expert. I'm trying to create a "modern photo resume" document in pages on my ipad2. It starts out with a formatted
-
When I try to print from CS6 on a MacBook Pro running Yosemite 10.10.2, the Print function is grayed out and not live. I cannot print from CS6. Any thoughts on how to make the print function active?
-
Mitgliederbereiche in Adobe Muse erstellen
Nabend zusammen, gibt es in Adobe Muse irgendwie die Möglichkeit (wie in CMS) einen Mitgliederbereich zu erstellen, der Passwortgeschützt ist? Meine Googlesuche blieb bisher erfolglos. Vielleicht hat ja jemand einen Tipp... Grüße und gute Nacht!
-
I really screwed up...help!
I won't give you the history of why I'm trying to erase my HD, but I am, and now I think I've really done it. I was trying to overwrite the disk to zeros. Well, it got stuck (I guess) with no progress 1/3 of the way through for hours. Frustrated, I q