Programming :: Why Components Are Not Visible On JFrame?

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


ADVERTISEMENT

Programming :: Java: Set Background Image JFrame?

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

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 View Related

Programming :: Hashing The Components Of An Tcp Session To Assign/locate The Session In A Hash Table Bucket?

Nov 10, 2010

I have a very bad attempt at hashing the components of an tcp session to assign/locate the session in a hash table bucket. I am pretty sure that it has a very high collision rate and when there are a very large number of tcp sessions my application is having to search a long linked list to find the session within the bucket.

All the hashing functions I have found take a single string input where I need to input several integers and hash them into a single result. My guess is that any real hashing function is going to produce better results than what I am currently doing.

[Code]...

View 2 Replies View Related

Programming :: Calling Umount2() Unmounts Volume But Df Entry Still Visible?

Nov 14, 2010

This is an odd one. I have a C program that calls umount to unmount a volume. A simplified case looks like this:

Code: int main()
{
int rc = umount2("/v0", MNT_FORCE);
if (rc != 0)
{
printf("Unable to unmount volume /v0, err='%s'", strerror(errno));
code....

I also discovered the reverse effect with calling mount() in code. When I make a call like Code: mount(drive, volume, "xfs", MS_NOATIME, NULL); the indicated drive is mounted since I can access the files as expected, but df doesn't show the drive has been mounted.

Why is my C code behaving this way? What do the mount/umount commands do when run from the command line that I'm not doing in my C code?

View 6 Replies View Related

Ubuntu :: App To Tell The Components Of PC?

May 8, 2011

find the manuals of my PC is not an option. I would like to know if there's an app that told me what's inside my computer. I know some of the parts, but others like the MB I can't remember the exact model. I know there's lots and lots of dust as well .

I think ubuntu comes with one app like that preistalled but I should have deleted it because I just can't find it.

View 6 Replies View Related

Fedora :: Install 14 Without Any X11 Components?

Dec 12, 2010

I would like to install Fedora 14 without any X11 components. I need it only like router/firewall, so I do not want to install any unnecessary modules. Also I do not want to download all DVD, but live media doesn't have any choices.


Is it possible to install Fedora without X11 desktop?

View 4 Replies View Related

Fedora :: Compile Some KDE Components From KDE 4.6.5 For KDE 4.6.5?

Aug 18, 2011

I tried to compile some KDE components from KDE 4.6.5 for KDE 4.6.5 but there are errors and this sucky cmake never tell me how to solve it.

Code:
CMake Error at CMakeLists.txt:7 (macro_optional_find_package):
Unknown CMake command "macro_optional_find_package".
DOLPHIN
Code:
CMake Error at src/tests/CMakeLists.txt:4 (kde4_add_unit_test): Unknown CMake command "kde4_add_unit_test". How to repair it ?

View 5 Replies View Related

Fedora :: What Are The Three Main Components Of X Windows

Aug 23, 2010

What are the three main components of X Windows?

View 2 Replies View Related

General :: What Are Components Can Install On RHEL?

Apr 26, 2010

I just got a question from a customer(actually from a customer to my manager then to me) and he is asking the following question: What are the components that were installed with RHEL? It may sound like a silly question but to me it sounds vague. The main thing I am thinking about now is during install you can select three components: webserver software development and virtualisation.

View 1 Replies View Related

Ubuntu Installation :: VLC: All Components Will Not Install?

Jul 30, 2010

I tried installing VLC through Synaptic. However, i got the reply "all components could not be installed". VLC does not appear in the menus. All four software repositories have been ticked.

How can I install VLC?

View 4 Replies View Related

Hardware :: GPU Computer With Consumer Components

May 13, 2011

i would like to set up a gpu computer for single-precision calculations (molecular dynamics) that may last many days. Thus, consumer components may be OK, though of high quality.it should be based on two/four GTX-470. ram requirements very modest: a few GB.OS must be GPU-Linux 64 bit (i am familiar with debian amd64). Software raid 1.I would appreciate advice on suitable motherboard, cpus, power source and cage for large-diameter propellers.

View 12 Replies View Related

Hardware :: No Post Beep With New Components / What To Do?

Sep 14, 2010

I have replaced my motherboard, cpu, ram with a retailed 'bundle' of components. When I power up, the cpu fans spins and i can feel my hard drive vibrating but There is no post beep. I could connect one of two four pin pwr2 leads to a motherboard; the first has yellow and black leads, the second, red purple black and yellow. Have you any ideas on my next move?

View 2 Replies View Related

Ubuntu :: Lost All Of Networking Components Due To Crash?

Jun 12, 2010

I lost my networking components: network, network-manager, and so on that I cannot restore it from the Internet.

How can I restore my networking components?

Can I use the LiveCD or what is recommended?

View 1 Replies View Related

Ubuntu Security :: OpenVPN Installation Using Apt - Components

Jul 17, 2010

I just installed OpenVPN using apt, and it doesn't seem to have components which are distributed with the source, such as easy-rsa. Why would tools like this be excluded from the package? I prefer to use apt rather than compiling from source, to keep things neat and simple.

View 2 Replies View Related

Ubuntu :: Compilation Remove Debs For Various Components?

Feb 18, 2011

I've been compiling stuff with the usual ccmake . make and make install for a while now, but now I'm starting to compile suites of applications, such as Calligra (Koffice). Is there any easy way to have the compilation spit out several .debs for the various components?

View 1 Replies View Related

Debian :: Cdrom Not Detecting Install Components?

Jan 1, 2011

Well I bought this book "Debian GNU/Linux 3.1 and it came with Debian installer. Thought this was too good to be true! Well, during the install I get a message that "cdrom not detecting install components". I ran the the diagnostic utility that was included in the disc and it did not report any issues.

View 3 Replies View Related

General :: Want To Build Desktop Computer With New Components?

Apr 25, 2010

I want to build a desktop computer. I will be running Linux Mint on it, probably the LXDE community edition. I use it for school (homework and studying), research on the net (general browsing and specific research on Linux stuff since I hope to one day open my own Linux computer store), and for listening to music and watching videos, things like that. I am not a power user, adn I don't plan to be one any time soon. But I am learning how to work in GNU/Linux, since I want to make a living that way.

Currently, though, I just need a good computer made out of new components, that will work correctly. So What kinds of components to get. I need a motherboard, a CPU (I prefer AMD), a hard drive (I will run SATA), and RAM. I have a DVD burner on my current computer, and I can use that in my new system. I plan to put my new computer together in the tower my current computer is using. I am just looking for some knowledgeable suggestions here for what to get to run my computer the best.

View 3 Replies View Related

General :: Can't Find Setup-installed Components?

Feb 6, 2011

I'm installing LoL using Wine and I can't find where setup has put the files. When I type "wine lol.launcher" it says "wine: cannot find L"c:\windows\system32\lol.launcher". For that matter I can't find where the setup program has installed any of the LoL components

View 1 Replies View Related

Fedora :: Determine What Packages Depend On PackageKit Components

Mar 10, 2011

I tried to remove PackageKit from F15 the other day and it removed, amongst other things GDM. Kind of hosed and I re-installed. I want to remove two components in particular, the command-not-found one and the software updater, (the old add/remove programs). How do I determine what packages would be removed? I thought there was an option in yum, but it doesn't seem to be in the manual.

View 2 Replies View Related

OpenSUSE :: Access Root Components With User Password?

Jul 20, 2011

So I'm attempting to get my system to not require the root password while still requiring some form of authentication. My current issue is getting yast2 and its components to ask for the user's password and not the root's.

Is there a way to have these tools ask for user's password instead of root's?

View 3 Replies View Related

OpenSUSE Install :: Can Remove Windows Partition And Components?

Feb 14, 2010

I've installed openSUSE 11.1 and am using it ok.Can I now remove the Windows partition and components? If so how please?

View 9 Replies View Related

General :: Unable To Model The Power Consumption Of Various Components

Aug 3, 2011

I am working on a traffic surveillance project which performs various image processing tasks with a number of visual sensors and a computing platform. My basic task in the project is the power optimization/management. I am using a ZOTAC-IONITX computing platform (Intel ATOM CPU + NVIDIA ION GPU). The problems that I am currently facing are:

I am unable to model the power consumption of various components e.g., processor, GPU, hard drive, memory etc, since there seems to be no way to measure the power consumption of individual system components. Since I don't have a power consumption model, I cannot come up with a power optimization algorithm. I am currently working on Linux. Is there any way to measure/model the power consumption of individual system component?

I have already checked powertop. It doesn't tells the power (watts) consumed by a component (e.g., microprocessor). It just gives information about the power state the processor is in (However there is no way to change the power state by the user) and the processors that cause processor to wakeup.

View 3 Replies View Related

Ubuntu Servers :: Guide In Which Hardware Components Are Mentioned?

Jan 11, 2010

So I was wondering if being relatively new to Ubuntu, and having no experience at all with servers, I would be able to set up a server (one server and a couple of computers), to use in a hostel. I took a good look at the Ubuntu Documentation Section:URl..and most of the things I don't even know what they are for (MySQU, Samba, Apache2).

Basically I need to have a couple of computers with internet access, allowing me to control their use, file sharing to a main HD in the server, also I would like to use the server computer as my personal desktop (office, internet, etc.) and that's about it..The question is, if I were to follow that guide, do you think I can set it up?Also, do you know a guide in which the hardware components are mentioned? Because I googled and the amount of trash coming out, mostly outdated, is extremely annoying.

View 1 Replies View Related

Ubuntu Installation :: Unable To Find The Java EE Components?

Aug 26, 2011

I used
Quote:

sudo apt-get install eclipse

to install But I am not able to find the Java EE components is there a another step that I should do get Enterprise components installed or is there a different command

View 1 Replies View Related

General :: Installing Ns3.6 - Components Not Found Specially Pybindgen

Jan 9, 2010

actually during the installation of ns 3.6, with the following command ./waf -d debug configure i get some components not found specially pybindgen i have downloaded it but cant install it and bind it with ns

View 8 Replies View Related

Software :: Command/script To Download All The Components Of A Webpage?

Dec 4, 2009

Been searching endlessly for a command line tool/utility that downloads all the components of a webpage, given a URL. As in,

[URL]

should fetch the base html and all the required components necessary for rendering the page, which includes all the images, css, js, advertisements etc. Essentially it should emulate the browser. The reason I'm looking for such a tool is to measure the response time of a website for a given URL from the command line. I know of several GUI tools like HTTPFox, Ethereal/Wireshark that serve the same purpose. But none in CLI.

There are wget and curl. But from what I understand they can just fetch the contents of the given URL and don't parse the html to download all other components. wget does do recursive download. But the problem is, it goes ahead and fetches all those <a href> pages too, which I don't want. Given a URL, the browser gets the html first, parses it, and then downloads each component (css, js, images) that it needs to render the page. Is there a command line tool/script that can accomplish the same task?

View 4 Replies View Related

Slackware :: Changed Some Components From One Laptop To Another \ Don't Have Internet Connection?

Jun 28, 2011

i have 2 laptops dell d410 whit slackware 13.7 on them .i had some problems with one (one pad) and i have changed some components from one laptop to another : some ram ,wireless, internal modem .now i don't have internet connection from slackware . if i boot slax it's all ok.

View 2 Replies View Related

Ubuntu :: Glich In 9.10 - Move The Removed Components From The New Install To The Broke?

Feb 8, 2010

i used klamav to scan for virus. yes, klamav from the repository. the scan said it had found possible virus. ok so i removed them from /usr/lib. then i realized kalmav just removed important components to be able to boot 9.10 properly. my desktop is broke!! so what do i do? use klamav to scan another install of 9.10 and try to move the removed components from the new install to the broke?

View 5 Replies View Related

Ubuntu Installation :: 9.10 Server - Load Installer Components From CD Failed

Mar 6, 2010

I recently brought home an old Compaq server from work. I was told that it works fine. When I brought it home, I tried installing Ubuntu 9.10 server from a cd. While it's trying to install, I get the message "Installation step failed. An installation step failed. You can try to run the following item again from the menu, or skip it and choose something else. The failing step is: Load installer components from CD." I turned off the computer and tried it again several times. Each time the same message appears.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved