Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
container
- Page 1
Re: Container inside of a container
Programming
Software Development
14 Years Ago
by SMITA6076
…buttonPanel = createButtonPanel(); leftSide.add( "South", buttonPanel );
Container
bothSides = myGUI.getContentPane(); bothSides.setLayout( new BorderLayout() ); bothSides….
Container
.checkAddToSelf(
Container
.java:420) at java.awt.
Container
.addImpl(
Container
.java:1038) at java.awt.
Container
.add(
Container
.…
Re: Container and Container Adapter
Programming
Software Development
12 Years Ago
by mike_2000_17
…"queue" concept exists, independently of the deque
container
(which is a prime candidate as the underlying storage). The… case, it maps the very complex interface of a
container
to the very minimalistic interface of the "queue&… that it was best to keep them separate, via a
container
adaptors called `std::queue` and `std::stack`. So, …
Container stops expanding when DIV floats left
Digital Media
UI / UX Design
15 Years Ago
by n0m4d
… 100%; } #header { width: 100%; height: 150px; background-color: #FFCC99; } #
container
{ padding: 20px 0 0 0px; width: 100%; background-color: #CC3300…"> </div> <div id="
container
"> <div id="boxWrap"> …>[/CODE] If I write text just before the
container
DIV closes, it expands, but I can't figure…
container c++ for different class
Programming
Software Development
15 Years Ago
by euclid135
…to be united, means if i access string1 in this
container
you'll get class1. The problem is class2 is …quot;,"Rain") when the main is run, the
container
will be something like this {"Kanada","America…",Weather","Sun"). which
container
should i use? or what
container
should i use? i tried set(string…
Container Problem
Programming
Software Development
13 Years Ago
by shujat132
… public void initGUI(){ myFrame = new JFrame("Flow Layout");
Container
c = myFrame.getContentPane(); c.setLayout(new FlowLayout()); b1 = new …public void initGUI(){ myFrame = new JFrame("Grid Layout");
Container
c = myFrame.getContenPane(); c.setLayout(new GridLayout(3, 2)); b1…
Container inside of a container
Programming
Software Development
14 Years Ago
by SMITA6076
…] don't work by themselves. I just tried making one
container
and adding the input and button panels to it with… panel below. I then made a second
container
and tried adding the first
container
to it on the left side and the… side. The compiler told me I can't add a
container
's parent to itself. How can I make two panels…
Container and Container Adapter
Programming
Software Development
12 Years Ago
by shanna62
… bit of difficulty understanding the difference between a
container
and
container
adapter. I thought a
container
such as a vector, deque and list… big light bulb moment - isn't a queue just another
container
with its own set of member functions that operates on…
Container storing a pointer to a member variable
Programming
Software Development
13 Years Ago
by gretty
… hide the copy constructor? This is how I use my
container
class: [code] #include <iostream> #include "ObjectCollection.h… o.back(); } system("PAUSE"); return 0; } [/code] My
Container
implementation: [code] #ifndef OBJECTCOLLECTION #define OBJECTCOLLECTION #include <vector>…
Re: Container Problem
Programming
Software Development
13 Years Ago
by shujat132
… GridLayoutTest.java GridLayoutTest.java:9: error: cannot find symbol
Container
c = myFrame.getContenPane(); ^ symbol: method getContenPane() location….java:10: error: cannot find symbol
Container
c = myFrame.getContentPane(); ^ symbol: class
Container
location: class FlowLayout .\FlowLayout.java:34:…
Re: Container Problem
Programming
Software Development
13 Years Ago
by shujat132
… GridLayoutTest.java GridLayoutTest.java:9: error: cannot find symbol
Container
c = myFrame.getContenPane(); ^ symbol: method getContenPane() location….java:10: error: cannot find symbol
Container
c = myFrame.getContentPane(); ^ symbol: class
Container
location: class FlowLayout .\FlowLayout.java:34:…
Re: Container Problem
Programming
Software Development
13 Years Ago
by shujat132
….java FlowLayout.java:10: error: cannot find symbol
Container
c = myFrame.getContentPane(); ^ symbol: class
Container
location: class FlowLayout 1 error [/CODE] and…
Container not going to bottom of page
Digital Media
UI / UX Design
13 Years Ago
by tonycfzzz
…; </head> <body> <div class="
container
"> <div class="title"> <…: 100%; background-color: #c0c0c0; text-align: center; margin: auto; } div.
container
{ text-align: center; width: 960px; height: 100%; background-color: FFFFFF…
Re: Container stops expanding when DIV floats left
Digital Media
UI / UX Design
15 Years Ago
by ko ko
Add this to your
container
[code] #
container
{ padding: 20px 0 0 [COLOR="red"]0px[/COLOR]; /*…
Re: Container inside of a container
Programming
Software Development
14 Years Ago
by mKorbel
…, that very old .... (set backGround Color for JFrame), usage of
container
is worng, forgot about that, LayoutManaget solved that ..., don't…
Re: Container Problem
Programming
Software Development
13 Years Ago
by NormR1
The compiler can not find a definition for the
Container
class. Do you have an import statement for the package …containing the
Container
class? [quote] actual argument FlowLayout cannot be converted to LayoutManager…
Re: Container Problem
Programming
Software Development
13 Years Ago
by NormR1
A JFrame is for an independent window. Why would you want it in a
container
? Use a JPanel to hold components for GUI that you want to add to a
container
.
Re: Container not going to bottom of page
Digital Media
UI / UX Design
13 Years Ago
by hericles
Is the content inside the
container
div taller than the screen is high? If so then it will be too much for the
container
to handle and will overflow. Try setting the
container
div height to auto and see what happens.
Container div is not expanding to contain side bar
Digital Media
UI / UX Design
15 Years Ago
by sadiebee
Hi everyone, I am having trouble getting my
container
div to expand in height so as to fully …submenu div (absolutely positioned on left) within it. Currently, the
container
expands as text on the page content div (which is… minimal, and therefore shorter than the submenu, then the
container
remains shorter than the submenu making it look like the…
Re: container c++ for different class
Programming
Software Development
15 Years Ago
by euclid135
… worry about the syntax, i just want to know which
container
is the best to use, and thanks for remind me…
Re: Container inside of a container
Programming
Software Development
14 Years Ago
by SMITA6076
I'm sorry I don't understand the first part of your reply. Yes the panels are declared as [ICODE]JPanels[/ICODE]. The panels work with other layouts it's just that when I try to add one
container
to another to get the layout I want, I get an error.
Re: Container inside of a container
Programming
Software Development
14 Years Ago
by SMITA6076
Hmmm... using
Container
and ContentPane is the way my professor taught us to …
Re: Container inside of a container
Programming
Software Development
14 Years Ago
by JamesCherrill
leftSide is the contentpane for the window (previous listing line 5) bothSides is also the contentpane for the window (previous listing line 14) so on line 17 you are trying to add the content pane to itself, == error. At a guess, leftSide should be a new
container
.
Re: Container inside of a container
Programming
Software Development
14 Years Ago
by SMITA6076
I made leftSide a
container
and that worked. I didn't realize that I hadn't done that in the first place. Thank you very much.
Re: Container inside of a container
Programming
Software Development
14 Years Ago
by mKorbel
:-) yes your profesor had right, JFrame is Top Layout
Container
, and every todays Layout Managers automatically build place for JComponents based on ContentPane :-)
Re: Container inside of a container
Programming
Software Development
14 Years Ago
by JamesCherrill
[QUOTE=SMITA6076;1527523]I made leftSide a
container
and that worked. I didn't realize that I hadn't done that in the first place. Thank you very much.[/QUOTE] OK, glad to help. Mark this solved?
Re: Container Problem
Programming
Software Development
13 Years Ago
by NormR1
[QUOTE]GridLayoutTest.java:9: error: cannot find symbol
Container
c = myFrame.getContenPane(); ^ symbol: method [COLOR="Red"]getContenPane()[/COLOR] location: variable myFrame of type JFrame[/QUOTE] Where is the method getContenPane() defined?
Re: Container Problem
Programming
Software Development
13 Years Ago
by shujat132
… FlowLayout.java FlowLayout.java:12: error: method setLayout in class
Container
cannot be applied to given types; c.setLayout( new FlowLayout…
Re: Container Problem
Programming
Software Development
13 Years Ago
by shujat132
please tell me one thing can we use JFrame in
container
? or we have to use JPanel for JFrame?????
Container Img x2?
Digital Media
UI / UX Design
12 Years Ago
by zobadof
…="wrapper"> <div class="
container
"> <a href="/index.php&…: auto; margin-right: auto; } .
container
{ width: 100%; margin: 0px auto; position: relative; } .
container
img { position:relative; top:5px; float…
Re: Container not going to bottom of page
Digital Media
UI / UX Design
13 Years Ago
by tonycfzzz
…: left; added clear: both; and it fixed the problem :) Now .
container
is connected all the way down the .footer
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC