A resize problem I have
Hi all,
I have a JTabbedPane with the first tab designed with Intellij's GUI designer. The JTabbedPane, the JPanel that fills the first tab and the JFrame containig the above components are all instantiated from the main class.
I have a nother panel also designed in the GUI designer that I add as a new tab to my tabbedpane when the program starts runing.
My problem is:
The first tab (created and instantiated automaticaly) maintains proportions when the JFrame is resized.
However, the add tab's content has a fixed size which I can't get to fill the tab.
I tried the setSize method, I tried using GridBagLayout with GridBagConstraints and nothing, it won't resize.
Can anyone help please?
Thanks.
This is why using a VE before you know how to do it yourself is usually a bad idea. Without code, we can't help you, but what is almost certainly the problem is the LayoutManager for that tab's contents and it's constraints are not setup to fill the available area.
If you used GridBagLayout you'd have to at the very least set GridBagConstraints fill to BOTH.
Similar Messages
-
[SOLVED] GNOME 3.8 annoying window resize problem
Hello all fellow early-adopters :-)
A very annoying quirk I've noticed, moving from GNOME 3.6 to 3.8, is that it no longer remembers, nor retains, the size/positions I set for many of my application windows. For example, my mail client (Evolution) is sized to fill most of my screen (centrally), with Empathy and Skype as long narrow windows on both sides - giving me a nice, broad "communications" overview on that particular desktop (with dev tools etc open on others).
On 3.6, this layout was retained during my session, as well as next time I started these apps up.
In GNOME 3.8, not only does it insist that these windows are always started as small little bunched-up windows that I need to resize, but every time a window displays a notification/warning (message in internal yellow bar inside the window - such as loss of internet connection, mail retrieval failure etc) it resizes the windows spontaneously to a stupid, small size that overlays the other windows. This is driving me crazy!
Where can I learn a bit more about how window sizing / positioning works in GNOME 3.8, or is it finally time to switch to awesome wm? I want to love GNOME 3.8, I really do. It's so slick, but so... unpolished.
I want to dig in an assist with problems like these, but I need some pointers to some background material first to understand the problem. Is it the window manager? Is it the app?
** UPDATE: Doing a full system upgrade, as of May 18, 2013, has resolved this annoying problem. My windows now stay where they belong, and start with the same size they were closed with. GNOME is now pleasant to use again :-)
Last edited by dawid.loubser (2013-05-21 13:37:25)dawid.loubser wrote:Thanks for the suggestion drtebi - I'll give it a try.
I really like GNOME 3.x though (and would like to understand the windowing behaviour), but if the annoying quirks are insurmountable, I will happily switch.
Man I love GNOME 3.x. I admire the courage they had to change, basically, everything, and I find myself more productive with my GNOME 3 Arch box than with my good ol' Slackware KDE 4 box. I just hate those bugs - for example I filed a task in their bugtracker for this window resize problem I have with gedit. If it's a love/hate relationship, I think it's marriage ^_^
With the 3.8 upgrade, deadbeef was having a similar problem with window size/position. I just recompiled it against the latest GTK+3 package upgrade (that came after the 'big upgrade' here on Arch) and it was fixed. But not with gedit
bwat47 wrote:
Man I really hope this gets fixed soon, because aside from this one incredibly annoying issue I am loving gnome 3.8.
I get the feeling gnome badly needs more beta testers, sizable regressions like this in "stable" releases happen way too often sad.
I get the exact same feeling. Well bugs exist everywhere, there's no denying. But I think it would be wiser to 'alternate' the nature of each major stable release - one focusing on new features and one focusing on fixing bugs. For example if the only new features in GNOME 3.10 were the AppsFolder full implementation and the introduction of gnome-calendar, and the rest of the development cicle being devoted to fix bugs, I'd be more than happy.
Like Fedora and Ubuntu, the fixed 6-month release cycle colaborates with the bugs. They don't do like Debian or Slackware which are released 'when they are ready'.
EDIT: fout (yet) another bug. At least with facebook chat (haven't tested with other telepathy plugins) the buddy tray icon appear duplicate. Anybody with the same issue?
Last edited by lmello (2013-05-02 14:06:06) -
Flash root Movie Resize Problem
Greetings ladies and gentlemen,
I have been going round and round in circles, trying to solve
this annoying little problem, and have just ended up biting myself
in the small of the back. I need help from someone who really knows
their flash.
My problem is this - I have a parent flash movie of size
900x800. I have a button inside this parent that then loads an
external swf (size 300x200) into an empty mc in the parent. My
problem is that when the external swf loads, it resizes the parent
movie (or repositions it depending on whether I am using IE or
Firefox).
I can't seem to work out why or how it's happening, and it
happens whether I use the standard Flash embedding or the swfobject
method for my HTML page that the movie is embedded in.
The actionscript code in the parent is very basic:
but1.onRelease = function() {
_root.createEmptyMovieClip("mp3_player",
getNextHighestDepth());
mp3_player._x = 240;
mp3_player._y = 390;
mp3_player.loadMovie("mp3player.swf");
I can't imagine why the root movie jumps down in size when
the button is pressed and the external swf loaded. Please, could
anyone shed some light?
My html file has the following embedding:Yep. I have the same problem and I have searched every forum
on the web and have spent hours messing with AS. If anyone has a
clue please throw us a bone.
Thanks,
Dr-Clegg -
CS4 Media encoder - Crop+Resize problem
I`m attempting to both crop and resize a video at the same time.
I have an AVCHD 1920X1080 premiere CS4 project. I export it to media encoder.
I`m attempting to encode it to flv or f4v.
After having cropped the video in Media encoder I would like to resize it but then I encounter a problem:
I have 3 options in the output settings:
Scale to fit/Black borders/Change output size.
`Black borders` is not what I want. I need my frame to contain nothing outside of the image.
If I choose `Scale to fit` the video immidiately becomes terribly blurred. It can`t be not a resolution issue as the size is 429X622 after the crop and the original is HD (and if I encode it the result is accordingly strangely blurred) I can resize the video but it will be `blurred`.
If instead, in the output settings I choose `Change output size` I get a normal video image (no blur, that is) but the the `resize video` interface under the `video` tab is disabled - it is greyed out ( even though the checkbox next to it is still marked) and the width and height boxs are greyed out too. I can`t resize.
I`ve attached to this message a JPEG capturing a part of the frame to show the strange blurring problem as well as the greyed out `Resize` interface.
What am I doing wrong ?Jim Simon asked:
But isn't that the size you want? If not, how did it get set that way?
Thanks for your interest, Jim Simon. Well, no, it`s not the size I want. I want to be able to resize at will, after I had cropped. How did it get set that way ? I got that 429WX622H frame merely by cropping the original 1920X1080 frame by using the `Media encoder` crop function, while the output is set to`Change output size` . If I would go now and rechange the size of the cropping frame I would get different dimension numbers. But as to how it got `set` this way, and now I refer to the word `set` as in `not being able to change anymore, being greyed out and disabled` - I have no idea at all, and this actually stands at the core of my bewilderment. If i choose to go about it differently and change the order of actions by resizing first and then cropping, for example, if I would choose first to change the size of the video from 1920X1080 to let`s arbitrarly say: 720X440 and then I would go and crop it in order to exclude from the frame certain imagery that I don`t need, then, Oddly enough, my previous resizing action will be strangely ignored and the cropping is re-calculated from the original 1920X1080 frame. I may even end up with a `crop` which is larger than my `resize`.
In other words: I need to be able to change both what I include in my frame and the final video resolution, and media encoder would not allow it in `Change output settings` and it would allow it in `Scale to fit` but then it insists on adding a strange and impossible bluriness effect even in the result encoded video. -
Preview Application Resizing Problem
Preview Application Resizing Problem
Microsoft platforms have two significant advantages. The first is the concept of an operating system that can function with hardware that ranges from cellular phones to desktop computers. The second is that Microsoft has excellent software development tools
for creating and testing computer programs.
Software compatibility across hardware platforms requires not only meeting CPU and memory requirements. Application programs must be able to automatically adjust Window and control sizes to meet the needs of available window sizes, video display unit sizes
and screen resolutions, switching between vertical and horizontal viewing, vertical and horizontal scrolling, changes in font sizes , and variations in the available screen space due to usage of vertical and horizontal toolbars.
Software developers must be careful that resizing doesn’t squeeze controls too close together or make them so small that they cannot be finger or stylus selected when used with touch screens.
Some of the required automatic resizing options are provided by the Microsoft software compilers and the Windows operating system. Softgroup Component’s “.NET Forms Resize” is an example of one of the third party applications that provide advanced
resizing functionality.
Many of the resizing functions are programmer options and, if not properly enabled, an application may not have the required resizing functionality. At the current state of the art, application programs are highly variable in their capability to do the “intelligent
resizing” that is required to handle different display environments.
A case in point is the Microsoft Preview Application for Windows 10. When entering lengthy comments, the send button becomes positioned off the end of the program window. It is possible to scroll to the button, but the display automatically resets when scroll
is released. The result is that the text cannot be sent. You can try a "blind" TAB to the SEND button. This appeared to work after several tries, but the comment was apparently not received,
RERThirdHi,
What do you see when you open the same PDF file in Acrobat Reader? Are the words still squeezed than?
Dimaxum -
I am having reduction resizing problems in Illustrator CS6. E.G. Straws & lemon wedge rinds become significantly proportionately wider when reduced. Also, numerical text does not skew with everything else. I have a CC membership w/PS & Ai installed. There are no other Adobe items on my 8 month old imac, Lion 10.7.4 except Flash player & the Adobe Applications Manager. Additionally, I have no 3rd party plug-ins & deleting the prefs file does not fix the problem. Any help on this matter would be greatly appreciated.
sgem,
And untick Align to Pixel Grid if ticked (you can do it in the Transform panel, or search for it in the Helpfile).
Hi Steve. Still summer? -
DV resize problem with QuickTime's iPod 320 x 240 export
Just a heads up for those with new 5th generation iPods who plan on converting their DV movies for display on the iPod. It seems that the iPod 320 x 240 export does not resize DV correctly. Here is a link concerning this problem:
Waymen, "Possible resize problem with iPod 320 x 240 Export?" #1, 03:02am Oct 13, 2005 CDTThis article show a workaround to have DV export correctly in QuickTime Pro
http://docs.info.apple.com/article.html?artnum=302955 -
the problem I have since I upgraded to Mavericks version 10.9.1
The problem appears only with Mail not with other programs, not even with my browser.
When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command + to enlarge the text, although I can reduce it with Command -.
As I have a problem with my eyes, This is a serious matter for me.
When I write an e-mail, if I select text and press Command +, it just displaces the text to the right.
Now, my husband has a USB keyboard. If he connects it to my computer, his regular Command + does not work either, but he uses the extended keyboard, then it works. Unfortunately, he needs it for a musical application which does not work with a wireless keyboard.Firefox 3.6.4 and 3.6.6 use a process called, "plugin-container.exe" which was using up most of my CPU when I opened up multiple tabs that contained Adobe Flash files, and caused Firefox to lock up.
My solution was to use Firefox 3.5.10 which you can get from the Mozilla website at [http://www.mozilla.com/en-US/firefox/all-older.html]
I am using Adobe Flash 10.1.53.64 without any problem in this version of Firefox. Check the release notes, I believe it contains all the latest security fixes in "Firefox 3.6.4".
Hopefully, they will fix Firefox 3.6 in the next version (e.g. Firefox 3.6.7), until then you should probably use "Firefox 3.5.10". -
I have an early 2011 MacBook Pro which has been running slow for a while. After looking at responses to similar problems I have downloaded and run EtreCheck. Please can someone help me with what it all means.
Thanks in advance.
EtreCheck version: 1.9.15 (52)
Report generated 19 September 2014 08:07:14 GMT+8
Hardware Information: ?
MacBook Pro (13-inch, Early 2011) (Verified)
MacBook Pro - model: MacBookPro8,1
1 2.3 GHz Intel Core i5 CPU: 2 cores
4 GB RAM
Video Information: ?
Intel HD Graphics 3000 - VRAM: 384 MB
Color LCD 1280 x 800
System Software: ?
OS X 10.9.4 (13E28) - Uptime: 0 days 0:4:29
Disk Information: ?
Hitachi HTS545032B9A302 disk0 : (320.07 GB)
S.M.A.R.T. Status: Verified
EFI (disk0s1) <not mounted>: 209.7 MB
Macintosh HD (disk0s2) / [Startup]: 319.21 GB (147 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
MATSHITADVD-R UJ-898
USB Information: ?
Apple Inc. FaceTime HD Camera (Built-in)
Apple Inc. BRCM2070 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Computer, Inc. IR Receiver
Thunderbolt Information: ?
Apple Inc. thunderbolt_bus
Gatekeeper: ?
Mac App Store and identified developers
Kernel Extensions: ?
[not loaded] com.seagate.driver.PowSecDriverCore (5.2.4 - SDK 10.4) Support
[not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.2.4 - SDK 10.4) Support
[not loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.2.4 - SDK 10.5) Support
[not loaded] com.seagate.driver.SeagateDriveIcons (5.2.4 - SDK 10.4) Support
[loaded] com.sophos.kext.sav (9.1.55 - SDK 10.7) Support
[loaded] com.sophos.nke.swi (9.1.50 - SDK 10.8) Support
Launch Daemons: ?
[loaded] com.adobe.fpsaud.plist Support
[loaded] com.microsoft.office.licensing.helper.plist Support
[running] com.sophos.autoupdate.plist Support
[running] com.sophos.configuration.plist Support
[running] com.sophos.intercheck.plist Support
[running] com.sophos.notification.plist Support
[running] com.sophos.scan.plist Support
[running] com.sophos.sxld.plist Support
[running] com.sophos.webd.plist Support
[running] com.trusteer.rooks.rooksd.plist Support
Launch Agents: ?
[loaded] com.divx.dms.agent.plist Support
[loaded] com.divx.update.agent.plist Support
[running] com.sophos.uiserver.plist Support
[running] com.trusteer.rapport.rapportd.plist Support
User Launch Agents: ?
[loaded] com.adobe.ARM.[...].plist Support
[running] com.amazon.music.plist Support
[loaded] com.google.keystone.agent.plist Support
[not loaded] jp.co.canon.Inkjet_Extended_Survey_Agent.plist Support
User Login Items: ?
iTunesHelper
TomTomHOMERunner
AdobeResourceSynchronizer
Dropbox
Internet Plug-ins: ?
FlashPlayer-10.6: Version: 15.0.0.152 - SDK 10.6 Support
DivX Web Player: Version: 3.2.1.977 - SDK 10.6 Support
AdobePDFViewerNPAPI: Version: 11.0.09 - SDK 10.6 Support
AdobePDFViewer: Version: 11.0.09 - SDK 10.6 Support
Flash Player: Version: 15.0.0.152 - SDK 10.6 Support
EPPEX Plugin: Version: 10.0 Support
Default Browser: Version: 537 - SDK 10.9
OVSHelper: Version: 1.1 Support
QuickTime Plugin: Version: 7.7.3
SharePointBrowserPlugin: Version: 14.4.4 - SDK 10.6 Support
iPhotoPhotocast: Version: 7.0 - SDK 10.7
Safari Extensions: ?
Ultimate
Audio Plug-ins: ?
BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
AirPlay: Version: 2.0 - SDK 10.9
AppleAVBAudio: Version: 203.2 - SDK 10.9
iSightAudio: Version: 7.7.3 - SDK 10.9
iTunes Plug-ins: ?
Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
3rd Party Preference Panes: ?
Flash Player Support
Perian Support
Trusteer Endpoint Protection Support
Time Machine: ?
Skip System Files: NO
Auto backup: YES
Volumes being backed up:
Macintosh HD: Disk size: 297.29 GB Disk used: 160.38 GB
Destinations:
Data [Network] (Last used)
Total size: 2 TB
Total number of backups: 99
Oldest backup: 2012-04-20 17:05:32 +0000
Last backup: 2014-09-18 23:49:25 +0000
Size of backup disk: Excellent
Backup size 2 TB > (Disk size 297.29 GB X 3)
Time Machine details may not be accurate.
All volumes being backed up may not be listed.
Top Processes by CPU: ?
6% InterCheck
5% iCalExternalSync
3% WindowServer
2% CalendarAgent
2% SystemUIServer
Top Processes by Memory: ?
152 MB SophosScanD
147 MB InterCheck
106 MB SophosAntiVirus
66 MB Dropbox
57 MB com.apple.iTunesLibraryService
Virtual Memory Information: ?
161 MB Free RAM
1.55 GB Active RAM
1.41 GB Inactive RAM
902 MB Wired RAM
611 MB Page-ins
0 B Page-outsUninstall Trusteer software
http://www.trusteer.com/support/uninstalling-rapport-mac-os-x
Remove Sophos
https://discussions.apple.com/message/21069437#21069437 -
I've just signed up to iTunes Match as I have songs on my iPhone 4 which wont sync with iTunes as they are from CDs but I can't see my music in the cloud now. Anyone had the same problem and have an easy fix?
What fixed it for me:
On your computer, open iTunes > My iPhone (or whatever name you gave your iPhone) > "Music" page
Uncheck "Sync Music"
Click "Sync" button (bottom right)
Let it run and finish
Uncheck the box for every song, playlist, etc.
Click "Sync" button (bottom right) (This step may be unnecessary, but I did it and got the result I wanted.)
Let it run and finish
Check the boxes for the music you want on your iPhone
Click "Sync" button (bottom right)
Let it run and finish
See if that doesn't work for you. I tried a lot of things that did nothing, but this seems to have fixed it, and quickly. -
Having horrible service with 4GLTE I have had 3G for several weeks (I am not the only person I know having this problem), I have reset my network settings and it did not resolve the issue. I am also unable to send SMS and text messages without them either failing or not sending at all. Is there an outage in the Cleveland, Ohio area (zip codes 44129, 44134, 44137) or anything else I can do to resolve this issue?
Not that I'm a Verizon employee, but I have experience in the field. An LTE tower will only extend up to, on a perfect day, with no elevation, 6-7 miles. On a typical day, you will be lucky at four (4) miles. The three ZIP codes you've given are all within about a 12 mile radius. That would mean that 2-3 towers are currently down at the same time, and Verizon would know about it within the hour. Being it's Cleveland, I'm sure they would receive numerous calls regarding an outage of that size.
My point is that if you're having issues in all three ZIP codes, chances are it's a phone issue. If you're handset is simply not receiving LTE, but still receiving 3G, that would signify a SIM card issue. You need to get your SIM card replaced. -
Have not changed any settings on my mac. Quit the application end of the day. The next day I went to start it and it won't open. Everytime I try to launch it, it won't open and I get this error message: The application itunes quit unexpectedly. The problem may have been caused by the libgnsdk_dsp.1.9.5.dylib plug in
Have not changed any settings on my mac. Quit the application end of the day. The next day I went to start it and it won't open. Everytime I try to launch it, it won't open and I get this error message: The application itunes quit unexpectedly. The problem may have been caused by the libgnsdk_dsp.1.9.5.dylib plug in
-
i'm using an iPhone 4 after upgrading to iOS 5 i'm getting an error 1635 now i'm facing problems syncing my contacts and facing many problems, i have restored my iPhone but still i'm getting the same error
Did you check your security software settings? eliminating conflicts from third-party security software.
-
Home sharing problem: I have never set up home sharing but I feel I the concept and how it works. I recently (last 2 months or so) deauthorized, first time ever, all computers with my iTunes account. I have 3 computers authorized. I am trying to set up home sharing but get iTunes says:
"Home Sharing could not be activated because this computer is not authorized for the Apple Id "#########@###.com". Would you like to authorize now?" I click "authorize" and get the next error " You cannont authorize more than 5 computers. You have already authorized 5 computers with this Apple ID. To authorize this computer you must first deauthorize one of the other computers."
Can someone help or shed more light on my problem?
Thanks,
RichardHome Sharing is designed to work on your local network not across the internet/cloud.
Stuff is accessed under the Computers column where your local iTunes library on a local computer would appear.
Home Sharing would share your iTunes content (i.e. stuff stored in itunes on the computer, not in the cloud) with AppleTV or an iPad etc on the SAME network.
AppleTV2 will not be able to see itunes content on the work computer over the internet. It's not designed to. if the work computer was on the home network it would.
iCloud is in it's infancy and is not a mature product - iTunes TV Show purchases appear on AppleTV, but currently music does not unless you are subscribed to iTunes Match. I find this rather odd to be honest, along with the inability to buy music on AppleTV2. Movies purchased in iTunes are not authorised for iCloud viewing currently either.
Maybe it has something to do with iTunes Match 'getting in the way' - i think they assume you'll use that whereas you really want to be able to access Purchased music from the cloud without subscribing to itunes Match which is overkill for some.
AC -
I have been trying to find an e-mail address for Apple problems that are not on your list of questions usually asked. Could you therefore let me have an e-mail address for being able to sort a problem I have with i-tunes purchasing for audo books as I by mistake downloaded a book instead of an audio book and would like a refund for The One I Love by Paul Pilkington so that I can download the audio book. This is the first time that I have used this facility and I obviously got confused with books and audio books, I need audio books because I have an I Pod Nano and I like to listen to my books on this. Look forward to your reply.
Regards, SandraSandra,
See this Apple support document for information on reporting an issue with your iTunes purchase.
http://support.apple.com/kb/HT1933
B-rock
Maybe you are looking for
-
Travel time in calendar events
I've created a Calendar event and entered a location. I see the map of the location in the event window. When I go to select a travel time, it says "34 minutes from Work." So, it's pulling my work address from Contacts. Nice, but I'm not trave
-
Table for Include Programs.
Hi, Can anyone tell me which table stores the include program names of a Module Pool.?? regards, Ramakanth
-
Multiplication using header level variable and table field
Have header level field (conversion rate) I want to use in calculation with a field in table (transaction currency). I can get my variable using <?xdoxslt:set_variable($_XDOCTX, 'X', ACCTD_EXCHG_RATE )?> in the header level field and <?xdoxslt:get_va
-
Post Author: markbr1 CA Forum: Charts and Graphs Hi folks, Looking for some help please on a numeric line chart in CR XI. I have an SP bringing back some 250 days of data, which makes 2 lines on graph. I have created a simple formula: {MPSP_CR_801_F
-
How to add xml data to an xml scheme
Hi all, I am having a problem trying to add content to an XML schema file - I have a schema (xsd file) and i want to use it in order to create and validate new/other xml's. The issue is that i want to place some data in the original XML schema file t