Scrollable textarea (the conversion rules did not help)
I am currently converting a programm from awt to swing.
I have a list of TextComponents and use it to add them to containers and to change the text.
Using the standard conversion of awt textfields (Jtextfield on jscrollpane) leads to a problem here since i can only either add the scrollpane or the textarea tot he List without making large changes.
If i add the scrollpane i run into problems if i want to access it as textcomponents if i add the textarea i don't know how to inform the programm to add the scrollpane when dynamically adding.
Any ideas?
I was thinking along the following lines but did not reach a result:
Is there an interface that i can implement in an extension of jscrollpane or jtextcomponent that allows me to use 1 Component as both?
Is there an i get added to a container method that i can overriede? (If textcomponent gets added inform container that textcomponent on scrollpane is added instead)
The problem is that i have an abstract class that defines the basic properties of my Frame and gives methods to add and manipulate textcomponents. If i just put a scrollpane between my textcomponent and the frame this system breaks down as i have to add 1 scrollpane which is not a text component and a textcomponent oon top of it. If i do that by foot thats no problem but it gets difficult when doing it dynamically.
I solved it by extending JPanel and for ordinary Textcomponents just add it tot he pannel and pipeline getText and setText through the panel. It just is a waste of memmory to have a panel only to hold a Textcomponent.
Similar Messages
-
Deleting songs in itunes does not work - the other forum did not help
i have a new ipod (80GB)and i cannot delete anything from itunes. when i highlight and try delete/backspace nothing happens. when i right click on an item the menu that opens does not include a clear or delete option.
please help?!?!?!?!/
i went through all the possible options in the other forum
http://discussions.apple.com/message.jspa?messageID=5481041#5481041
and i got 8 or 9 replies - without any success.
i have the latest itunes version and have it reinstalled again and again.
the otions i get when highlight and right click on a song in the music section in itunes are:
get info
rating
shoe in windows explorer
reset play count
reset skip count
convert selection for ipod
convert selection for apple tv
uncheck selection
mark as not new
add to playlist
show in playlist
copy
get album artwork
apply sort field
so there is no clear nor delete!
how on earth can i get my list smaller????
i am starting to think about all those lovely windows mp3 players.
cheers - udono idea what happened here but for a moment i was actually able to delete songs from my playlist which caused me to loose a few songs. i then closed everything off and restarted and now it appears to work. the strange thing is i haven't changed a thing. however i will closely monitor this and if it stays like this i have no further reason to get my fingers in a twist. as i said a mystery to me, anyhow thanks to all who were involved trying to help.
cheers -udo -
I am trying to open my iTunes on a Windows XP laptop and get the error message 42404 "iTunes application could not be opened. Please repair or reinstall QuickTime". I did that and it did not help. Any ideas?
Let's see if a more rigorous uninstall/reinstall procedure gets us past that, nancy. See the following troubleshooting document:
Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP -
I recently removed an outlook account and now all of my calendar events are missing. The majority of them were added from my iphone 4s. How do I retrieve the events? Backing up with iCloud did not help, as I assumed it would.
Outlook is a mail client for PC's (and Macs). It is not a type of account. Do you mean an "Exchange Account"?
If so, then re-add it. The calendar events live on the Exchange Server. The only way to get them back is to re-add the account to the phone. The contents of Exchange and IMAP accounts are not part of the 'backup' as they already exist elsewhere. -
I reinstalled my computer's operating system. How do I transfer music from my Ipod to my music library? It transfered some, but not all my music. I authorized the computer, but it did not help.
The sync is one way - computer to ipod. The only exception is itunes purchases.
The ipod is not a backup device.
You need to copy everything back using your backup copy. -
In the libary of iPhoto I do have double pictures only in the year 2006. Can someone please tell me how to remove the double pictures. I did rebuilt the libary but that solution did not help me any further.
I think the warning is very clear.
What warning? Where do you say that this plan you suggest will lose at least some, and possibly a whole lot of metadata, plus the original files of edited photos. This is significant dataloss. And you should warn people that this is the case.
While your metadata and originals may not be important to you, that is not necessarily the case for other users.
Fourthly, and last, cleaning the iPhoto library should be done at least once per year
This is nonsense. The iPhoto Library has no need of "cleaning" and certainly not in any way that trashes a whole lot of data.
I'm very impressed that you assess the application based on the sound of the name. It's not a common way to review applications, but I'm sure it has some merit.
FWIW it has been recommended on this - and other - sites for many years and has proven safe and effective.
Regards
TD -
I sign in tol my Firefox is out of date. did try to do the upgrade but did not work need help
''locking this thread as duplicate, please continue at [https://support.mozilla.org/en-US/questions/978554 /questions/978554]''
I need help to get my sign in working. Need to upgrade?
how to do that?
<sub>edit: removed personal information for your protection. (philipp)</sub>I sign in told my Firefox is out of date. did try to do the upgrade but did not work. Need help
Let me know how to get my sign in working -
I can no longer type messages. I have tried deleting to see if I have too many saves messages. That did not help. I also cut off the phone and turned back on. That did not help. Ideas?
http://www.bubblews.com/news/874646-apple-is-having-issues
-
error message: itunes library .itl cannot be read because it was created by a newer version. I downloaded and in stalled the latest version of itunes and it did not help. What now?
Perhaps check to see if you're accidentally running two different versions of iTunes. There's some information on troubleshooting that in the Opening iTunes section of the following document:
Troubleshooting iTunes installation on Mac OS X -
Since I "upgraded" to FF 4, I have constant crashes (I tried updating my graphics drivers--it did not help) and now all of my bookmarks have disappeared. When I try to restore them, I get this error message "Unable to process the backup file". I have lost years of bookmarks...please help.
I am using Windows XP, SP 3 if that matters.I am also unable to restore any of the backups of the bookmarks, both automatic backups and two backups that I created manually. Since I was able to restore backups before, and since no changes have occurred to these backup files, the problem must be with Firefox.
Right before my bookmarks disappeared, FF crashed and I accidentally started FF 3.5. When I saw what I did, I ended the Firefox process and started FF 4. That's when all my bookmarks were gone and I discovered I couldn't retrieve any backups. I did note that an add-on was updated when I restarted FF. Maybe that's the problem. Does FF have a Safe mode? -
I was told I need to remove the enterprise server account I have and need to add a new one for work but the IT person did not tell me how to do this. Can anyone help?
Jennymbell, never fear help is here!
Have you tried contacting your IT department for assistance? You can visit http://bit.ly/QECbGh for steps on how to enterprise activation.
Keep me posted if you need further assistance.
John B
Follow us on Twitter @VZWSupport -
My back and forward buttons do not work also the refresh button does not work, I have reloaded the latest version of fire fox and that did not help. All of navigation tool bar worked until I updated Fire Fox, now if I click on a link in yahoo, for instance, I can not get back to my yahoo home page without reloading Fire Fox. HELP please.
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode
A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
*http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
*https://support.mozilla.com/kb/Bookmarks+not+saved#w_places-database-file -
Firefox does not activate Gmail when I click send link in the menu under File or by right click menu on a webpage. I have set Gmail as the Mail to under options, but this did not help.
I have the same problem but it appears that an add-on I'm using is causing the problem. Try opening Firefox in safe mode (which disables add-ons) Then try it. If that solves the problem, you need to disable all your add ons and enable them one by one to figure out which one(s) is causing the problem.
[http://www.chowins.com David Chowins] -
After updating my iphone 4 to iOS6 the screen will periodically fade out to black and will not come back up. I have to shut the phone off and back on 2 or 3 times to get it to come back on. I have done a restore and that did not help. any ideas? is this happening to anyone else?
did you restore from backup or as a new device? Restore as a new device. Before you add any apps to it, use the phone with just the iOS-installed apps. If it's fine, slowly add a few purchased apps back at a time. Do this until the offending app is found.
-
Hi, the FaceTime just did not work between my mom and I. It used to work weeks ago, but now it does not work after showing"connecting". I feel frustrated and try all the method I can think of. Still do not work. Hope u can help me. Thanks!
Was it just this one time? Could be that you, or your mom, were experiencing network problems. Try again at a later time.
Maybe you are looking for
-
MacBook Pro Processor 2.4 GHz Intel Core i7 Memory 8 GB 1600 MHz DDR3 Graphics NVIDIA GeForce GT 650M 1024 MB Software OS X 10.9.2 (13C64) I am the administrator of this machine with complete and full access. Situation: I tried to open After Eff
-
Installation Issue - Acrobat 9 Pro Extended
I'm trying to install Adobe Acrobat 9 Pro Extended on a system that currently has CS4. A9PE will not install saying that I have a more functional product already installed, then it terminates install. What's up with that? Is there a way I can still
-
PS CS6: Images sometimes not saved when using Close All and instructed to save
I thought I had made a crazy mistake when this happened earlier today, but it just did it again and I was paying close attention. I often open multiple images to make several changes, then use Close All and when it prompts "Do you want to save chang
-
I'm trying to connect my iPad2 to a projector...I've tried all three of my apple adapters with no luck...what am I doing wrong?
-
The original user profile on my windows 8.1 pc is C:\Apple\acer sm. I tried changing it to C:\Apple\Apple. After I rebooted my PC, I found out that all my files and applications are lost. What shall I do to recover them? Your help would save my life.