Programming :: Make JTextArea Scrollable - Doesn't Scroll Just Expand JTextArea Out Of JFrame?
Feb 7, 2010
show me code to make my JTextArea scrollable ? I used this code but it doesn't scroll just expand my JTextArea out of JFrame. Part of code I used(one that doesn't work):
[Code]....
View 2 Replies
ADVERTISEMENT
Jun 25, 2010
I've written a java class wich extends the JFrame class and i did the whole thing and i compiled it with no problems what so ever but when i run it the frame comes out with no components on it.I've created Jbuttons and JPanels and JPasswordFild and i made sure to make a container and I've surely added the components to the frame but IT IS STILL NOT WORKING!
View 10 Replies
View Related
Jul 19, 2011
I am learning some Java programming, and I've run into a problem. I am trying to set a background for JFrame, so that I can put text and buttons on it. I've tried searching the internet, and the only code that I found that was a full code (I lost it, and don't remember the link) had so much other stuff, such as text and buttons, that I couldn't find the part I needed.
View 4 Replies
View Related
Jun 24, 2011
i am getting the following error when use make command for asterisk -addons-1.4.13
Bhaskar reddy
menuselect/menuselect --check-deps menuselect.makeopts
Generating embedded module rules ...
[code]....
View 1 Replies
View Related
Jan 15, 2010
I just installed KDE through gruoinstall command on my F12. I can't use the vertical scroll bar on the touchpad of my laptop. Also I wanted to change the shortcut to window menu. It's Alt+F3 whereas I am comfortable to Alt+Space like in GNOME.
View 6 Replies
View Related
Feb 15, 2010
having bit of a trouble with path expansion of strings that contain some whitespace and wildcards First my script sources a configuration file that contains array assignments
Code:
...
BACKUP_TARGET_FILES[2]=/boot/config-* # no problems
BACKUP_TARGET_FILES[3]="/root/random dir with space/file*" # this is the problem
...
then later in the script I want to expand BACKUP_TARGET_FILES elements as below
Code:
IFS_DEFAULT="$IFS"
shopt -s nullglob
shopt -s dotglob
IFS=
[code]....
this code seems to work but I'm not quite satisfied with it. I'd like to get rid those IFS changes, but haven't found out a solution as of yet. Problem with default IFS seems to be that with it neither $pattern or "$pattern" work; it either interprets pattern as multiple words (because of spaces) and so expands to wrong paths or it ignores * because it's within quotes.
View 11 Replies
View Related
Jun 1, 2011
Does anyone know of a way to make the 'activities' button go from scroll over to when clicked.is that even possible....
View 4 Replies
View Related
Apr 17, 2011
So I've installed a slightly earlier version of -current than is out now and installed the 2.6.38.2-smp kernel on my Asus eeePC. Normally (both on this computer and every other laptop I've used, other than Macs) you scroll by swiping one finger up/down the right side of the trackpad. This installation, however, has made the scroll similar to the Mac scroll (two fingers anywhere on the trackpad, swiping up or down). How do I change it back? I have no xorg.conf file
View 6 Replies
View Related
May 30, 2011
I am actually impressed with the innovation with scrollbars in Natty. However, when I'm using Ubuntu Classic, I cannot scroll document viewer horizontally because the handle gets under the lower panel (see screenschot attached)I have read somewhere that the new scrollbar is meant to save space, and the handle will automatically appear when hovered: the handle will appear outside the window if the window is smaller than the screen, and inside if the window or document is maximized or no space left outside the window. In my case, even if the document viewer (which is viewing a pdf) is maximized, the horizontal scrollbar still appears below the document. I needed to remove the lower panel just to scroll the document horizontally.
View 1 Replies
View Related
Jun 13, 2011
Well a few days ago I installed Ubuntu for the first time and I'm really enjoying it but there is one thing putting me off and making me want to go back to Windows regularly - the fact my mousepad scroll option doesn't work, something I require quite regularly.
I have googled things about fixes and I'm a beginner, so some of the things were too advanced for me and others didn't work. with this so I can have the best experience I can with the operating system.
View 2 Replies
View Related
Apr 28, 2010
It's a lot more laggy and jerky in GNOME/X, even with GL-render on. Is this normal with nVidia cards or should I try tweaking some settings?
View 5 Replies
View Related
Aug 29, 2011
I am using a Linux machine with a KVM switch at work, and I commonly use emacs while switching between that machine and my other machine. I typically use the keyboard shortcut to swap between machines on the KVM, which is the key sequence: Scroll Lock, Scroll Lock, Up or Down. If I have an emacs window on top on Linux and hit these buttons, it will trap the Scroll Lock key presses and trigger a system beep from the CPU speaker. The KVM still switches, but on occasion, after the switch, it will register Scroll Lock as being stuck pressed, and so I'll be treated to an earful of system beeping. I have to switch back to the computer to get it to stop.Is there something I can put in the .emacs file that will prevent the program from beeping when I hit Scroll Lock with the window on top?
View 1 Replies
View Related
Aug 10, 2010
I have to switch from VMWare Server 2.0 to XEN due the compilation of the kernel module fails. But XEN doesn't work on my newly upgraded server (fromm 11.0 to 11.3). When I install XEN via yast and do a reboot, then the screen goes black and the LEDs of Num and Scroll Lock are blinking. The last message i can see before the screen goes black is something like that:
[Code]...
View 4 Replies
View Related
Jun 16, 2010
My mouse wheel scrolls 3 lines at a time !
I tried this, it didn't succeed.
View 14 Replies
View Related
Sep 12, 2010
I really enjoyed using Apple's wireless Mighty Mouse and Magic mouse because of their ability to easily touch scroll 360 degrees. Unfortunately, Linux drivers are not provided for these mice.Is there an equivalent wireless mouse that works well in Linux? Ideally with native support or community provided drivers, etc.
View 2 Replies
View Related
Jun 3, 2011
The new scroll tab that 11.04 has appears when you hover over the orange area on the scroll bar. The scrolling arrows are gone.Well this scrolling tab often vanishes before I can click on it to scroll down. Is there a way to revert to the old style, like the scrolling mechanism on these forums? It is nice to have the option of the arrows on top and bottom, along with the scroll tab thing.
View 3 Replies
View Related
Jun 19, 2011
I need a better tutorial than the out of date books I own or I can find using Google. If someone has a place they would recommend, please provide a link. I have a web page that is 3 column. I would like each column to vertical scroll separately. I would also like to keep the jump code in the left column if that is possible. Go here for the my web page and source code. [URL]
View 3 Replies
View Related
Sep 15, 2010
I want to gave much details as possible. working directory (~/a1/shell) in the shell directory i have Makefile. also in the shell directory i have subdirectory's (obj, src, include)
My current Makefile
Quote:
#What needs to be built to make all files and dependencies
clean:
# End of Makefile
I wanted it so: all .o files are created in the obj subdirectory, and my application, sshell, is created in the shell directory.
I am getting this error when i run the make run: No rule to make target 'shell.h', needed by 'shutil.o'. stop
View 1 Replies
View Related
May 16, 2011
i have a server program which accept multiple client connection and am using polling. like every 2 secs it will look to client whether any data is received after it binded. i have used setitimer but there is runtime error i got.. the server accept all client connection but doesn't execute any msg which client sent.
#include<stdio.h>
#include<stdlib.h>
#include<sys/socket.h>
#include<sys/types.h>
#include<netdb.h>
#include<unistd.h>
#include<pthread.h>
#include<string.h>
[Code]....
View 1 Replies
View Related
May 2, 2010
Is it possible to use a pen drive to expand the amount of ram you have? In Lucid 10.04 LTS.
View 1 Replies
View Related
Dec 18, 2010
I want resize my partitions, i need more space for ubuntu, i already have 58gbs of free space, but i dont know how i can expand my partitions, i have tried "GParted Partition Tool", but it won't allow me to do it. The only other thing i can think of is re-installing ubuntu, and if i have to reinstall it how can i retain my settings and programs that i have installed?
View 6 Replies
View Related
Aug 27, 2010
When I do the who command it doesn't show all my info.
View 7 Replies
View Related
Jun 6, 2009
I know this sounds weird but the Fedora 10 I installed doesn't have gcc and makefile in it. I burned a CD from fedora.org and could it be the problem with the CD I burned? During installation, it didn't ask me to choose what packages I wanna install.
I don't know much about live CD but this installation procedure is different from my previous experience. It firstly take me to a 'virtual' linux desktop and I started the installation through clicking a Installation icon on it. Is this what so called live cd installation?
View 7 Replies
View Related
May 26, 2011
i installed the new fedora 15 x86_64 version at my dell studio 17 laptop any i wanted to make some updates and suddenly one error show up
Code:
GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-15-x86_64
i know i�m missing a key... but how can i get it? i did:
Code:
cd /etc/pki/rpm-gpg
ln -s RPM-GPG-KEY-rpmfusion-free-fedora RPM-GPG-KEY-rpmfusion-free-fedora-15-primary but i still doesn�t work
View 9 Replies
View Related
Aug 29, 2011
When partitioning disk devices for F14 on my new x86-64 box, I allocated 100G for / mounted on /dev/sda1. It's now 100% full. I have 365G free space available on the disk. Can I somehow extend /dev/sda1 to use some of this free space?
View 7 Replies
View Related
Apr 14, 2010
I've got a 500gb hard drive.
-sda1 is 400gb (ubuntu 9.10/32bit/ext3)
-sda2 is 50gb (ubuntu 10.04/64bit/ext4)
I would like to expand my lucid partition now and eventually get rid of my 9.10 partition. I've got an 80GB virtualbox file sitting on sda1 that I need and want to expand sda2 now so I can first copy the VB file over, then expand sda2 completely. I just finished creating sda3 ext4, but cant figure out how to merge it with sda2 (well really sda6). Please see image. [URL]
View 1 Replies
View Related
Apr 27, 2010
I need to expand my ntfs and have ample GB, all taken up presently so if I create some unallocated GB's under ntfs how do I expand the ntfs partition. I have gparted live CD.
View 1 Replies
View Related
Apr 28, 2010
I created a dual boot on my computer with windows vista and ubuntu using the wubi ubuntu installer for windows, and my ubuntu boot is limited to 15gb of hard drive space. My hard drive in actuality has about 150gb left on it. How do I expand the amount of storage ubuntu is allowed to use?
View 6 Replies
View Related
May 23, 2011
I have decided that Windows 7 is something that belongs MAYBE in a virtual machine and that I have no use for it. Therefore, I want to recover the 130 gigs it takes on my hard drive and add that to my Ubuntu partition.
Here is the output of fdisk -lu:
Code:
View 5 Replies
View Related
Apr 15, 2011
I need to expand a 15GB xen disk ".img" to 50GB, it's got centos as the guest O/S.
I've been googling and there are alot of results but I'm still having trouble.
I don't remember if I used the default LVM partition scheme or if I did a FS. In fdisk it says linux partition but that's it.
I did the dd and cat method but fsck is complaining like usual.
I dd a file called tempfile and the append it using cat tempfile >> my.img then did resize2fs -f but it error out with "Bad Magic number on super block."
View 2 Replies
View Related