Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 196 results for
jlayeredpane
- Page 1
JLayeredPane won't "refresh" the component
Programming
Software Development
13 Years Ago
by AirGear
… JLabel MenuHelp; private JLabel MenuExit; private JLabel Background; private
JLayeredPane
Panel; private SubMenu ActiveMenu; private GameMonopoli a; public MainMenu….jpg"); JLabel header = new JLabel(headerIco); //
JLayeredPane
footer = new
JLayeredPane
(); JLabel footerLabel = new JLabel(footerIco); JLabel button =…
JLayeredPane transparency layer issue
Programming
Software Development
10 Years Ago
by CoilFyzx
Hi. I have a JFrame with a
JLayeredPane
. On the first layer there is a table, then above …
Working with JLayeredPane and positioning of components.. HELP!
Programming
Software Development
19 Years Ago
by perky_jing
… i don't seem to add the components in the
JLayeredPane
correctly. what's wrong with my code? i hope you… innerPanel = new JPanel(new BorderLayout()); JPanel headerPanel = new JPanel();
JLayeredPane
viewPanel = new
JLayeredPane
(); JLabel headerlbl = new JLabel(new ImageIcon("../bg/header…
Zooming in/out images in JLayeredPane
Programming
Software Development
13 Years Ago
by LianaN
… like to zoom in & zoom out an image in
JLayeredPane
. Now I have a snippet for loading a background image… could I now access ALL content images of
JLayeredPane
(it could contain multiple images) and zoom them in/out? …
Re: Working with JLayeredPane and positioning of components.. HELP!
Programming
Software Development
19 Years Ago
by perky_jing
hi guys, there is no reply yet to my problem.. is there anything you could suggest me to position my panel inside the frame? i tried using the setLocation() but still it's not working. Is there another way that i could use a
JLayeredPane
inside a JPanel? any suggestion would be abig help.. thanks!
Layer painting with JLayeredPane
Programming
Software Development
14 Years Ago
by redZERO
Hey guys I'm using
JLayeredPane
because i want three distinct layers in my program. terrain, …buildings and then characters. I thought that
JLayeredPane
was easily the best choice for this context. The problem…
Re: Layer painting with JLayeredPane
Programming
Software Development
14 Years Ago
by JamesCherrill
… paint a layer - you just paint the things in the
JLayeredPane
and the "layers" determine which things get painted…, you can simply add three things (eg JLabels) to the
JLayeredPane
, setting their depths appropriately, then override the paint(...) method for…
Refreshing jTable contents on DataBase table update
Programming
Software Development
10 Years Ago
by Dinesh_9
….addContainerGap()) ); jLayeredPane1.setLayer(jPanel1, javax.swing.
JLayeredPane
.DEFAULT_LAYER); jTabbedPane1.addTab("Customers Info",…()) ); jLayeredPane2.setLayer(jPanel2, javax.swing.
JLayeredPane
.DEFAULT_LAYER); jTabbedPane1.addTab("Item List"…
Two mouse events for closing the jdialog
Programming
Software Development
8 Years Ago
by rohtashrathore
….setLayer(Location_text, javax.swing.
JLayeredPane
.DEFAULT_LAYER); jDesktopPane1.setLayer(jScrollPane1, javax.swing.
JLayeredPane
.DEFAULT_LAYER); jDesktopPane1.setLayer(jLabel2, javax.swing.
JLayeredPane
.DEFAULT_LAYER); jDesktopPane1.setLayer(location…
help in java database
Programming
Software Development
13 Years Ago
by beginner21
… JFileChooser _fileChooser; JLabel l1,l2,l3,l4,lph;
JLayeredPane
lp1,lp2,lp3,lp4; JPanel np,cp,sp,p,… Keyword Here",10); lp1 = new
JLayeredPane
(); lp2 = new
JLayeredPane
(); lp3 = new
JLayeredPane
(); lp4 = new
JLayeredPane
(); p = new JPanel(); np = new…
Re: help in java database
Programming
Software Development
13 Years Ago
by beginner21
…m1,m2,m3,m4; BufferedImage bimg; JPanel jp;
JLayeredPane
p1,p2; InputStream is; public yeahFrame() { …JLabel(); m4 = new JLabel(); p1 = new
JLayeredPane
(); p2 = new
JLayeredPane
(); jp = new JPanel(); } public static void…
cant get focus of JTextField on the first click of Tab button
Programming
Software Development
11 Years Ago
by NidhishKrishnan
… 80, 20); jDesktopPane1.add(jLabel1, javax.swing.
JLayeredPane
.DEFAULT_LAYER); country.addFocusListener(new java.awt.event.FocusAdapter()…140, 20); jDesktopPane1.add(country, javax.swing.
JLayeredPane
.DEFAULT_LAYER); jLabel2.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); …
Java swing crash on mac?
Programming
Software Development
11 Years Ago
by M4trixSh4d0w
… javax.swing.JComponent.paint(JComponent.java:1046) at javax.swing.
JLayeredPane
.paint(
JLayeredPane
.java:567) at javax.swing.JComponent.paintChildren(JComponent.java… javax.swing.JComponent.paint(JComponent.java:1046) at javax.swing.
JLayeredPane
.paint(
JLayeredPane
.java:567) at javax.swing.JComponent.paintChildren(JComponent.java…
Swing Help
Programming
Software Development
17 Years Ago
by Metsfan147
…getContentPane().setLayout( new BorderLayout() ); nodeLayer = new
JLayeredPane
(); nodeLayer.setPreferredSize( DEFAULT_DIMENSION ); nodesPanel = new JPanel….length; ++i ) { nodeLayer.add( nodeLabels[i],
JLayeredPane
.DEFAULT_LAYER ); } } public static void main( String[] …
reg eventhandling
Programming
Software Development
12 Years Ago
by rajeshredy
… javax.swing.JCheckBox; import javax.swing.JComponent; import javax.swing.
JLayeredPane
; import javax.swing.JList; import javax.swing.JOptionPane; import javax….add(picture); panel1.setBackground(Color.RED); panel1.setOpaque(true);
JLayeredPane
lpane= new
JLayeredPane
(); //adding the two layers into layeredpane lpane.setBounds(0…
Re: reg eventhandling
Programming
Software Development
12 Years Ago
by rajeshredy
… javax.swing.JCheckBox; import javax.swing.JComponent; import javax.swing.
JLayeredPane
; import javax.swing.JList; import javax.swing.JOptionPane; import javax….add(picture); panel1.setBackground(Color.RED); panel1.setOpaque(true);
JLayeredPane
lpane= new
JLayeredPane
(); //adding the two layers into layeredpane lpane.setBounds(0…
background imageIcon is not print on jpanel (JAVA)
Programming
Game Development
11 Years Ago
by hwoarang69
…JComponent.paint(Unknown Source) at javax.swing.
JLayeredPane
.paint(Unknown Source) at javax.swing.JComponent…JComponent.paint(Unknown Source) at javax.swing.
JLayeredPane
.paint(Unknown Source) at javax.swing.JComponent….paint(Unknown Source) at javax.swing.
JLayeredPane
.paint(Unknown Source) at javax.swing.JComponent…
JTables
Programming
Software Development
19 Years Ago
by freesoft_2000
… javax.swing.JComponent.paint(JComponent.java:817) at javax.swing.
JLayeredPane
.paint(
JLayeredPane
.java:557) at javax.swing.JComponent.paintChildren(JComponent.java…
Adding components at runtime ontop of a scrollable table
Programming
Software Development
16 Years Ago
by Gregory Mieczni
…. The folowing code works fine // Create a layered pane
JLayeredPane
panel = new
JLayeredPane
(); panel.setLayout(new BorderLayout()); // Use this layout so that…
Help with JLayerdPane
Programming
Software Development
13 Years Ago
by gauravk_bhanot
…); } } public class layers { public static void main(String[] args) {
JLayeredPane
layerd=new
JLayeredPane
(); layerd.setSize(800,800); layerd.setVisible(true); layerd.add…
Re: Help with JLayerdPane
Programming
Software Development
13 Years Ago
by new_programmer
…); } } public class layers { public static void main(String[] args) {
JLayeredPane
layerd=new
JLayeredPane
(); layerd.setSize(800,800); layerd.setVisible(true); layerd.add…
Filling the JComboBox from the database
Programming
Software Development
13 Years Ago
by LianaN
… javax.swing.JComponent.paint(JComponent.java:1038) at javax.swing.
JLayeredPane
.paint(
JLayeredPane
.java:567) at javax.swing.JComponent.paintChildren(JComponent.java…
Button when pressed saved into array
Programming
Software Development
10 Years Ago
by oresnik
…;Klaviaturska zabava"); okvir.setBounds(500,400,416,214);
JLayeredPane
panel = new
JLayeredPane
(); okvir.add(panel); //int f[] = igra(); /**naredi crne tipke…
IReport "error displaying report page. see the console for details"
Programming
Software Development
14 Years Ago
by onsir
…) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.
JLayeredPane
.paint(Unknown Source) at javax.swing.JComponent.paintChildren(Unknown Source…
[swing] Bringing dragged object to top
Programming
Software Development
14 Years Ago
by FotG2
… do it from a mouse listener in another class? a
JLayeredPane
named window is defined in Main and a mouse listener…
[swing] Drag and drop
Programming
Software Development
14 Years Ago
by FotG2
I have a project set up using a
JLayeredPane
with a number of JLabel objects. Some are gray images, …
How to delete a component, when it is double-clicked?
Programming
Software Development
13 Years Ago
by LianaN
… component (in my case -> JLabel that is placed on
JLayeredPane
), when it is double-clicked? So, as far as I…
Re: How to delete a component, when it is double-clicked?
Programming
Software Development
13 Years Ago
by LianaN
Hi tong1! Thank you for the code. But the problem is that I can't write "remove(label)", because there are many-many JLabel components on my
JLayeredPane
. I must somehow determine which JLabel component has been double clicked. Do you know how it can be done? Hi NormR1! I will post the debug message today, but a bit later.
Re: How to delete a component, when it is double-clicked?
Programming
Software Development
13 Years Ago
by LianaN
… c = layeredPane.findComponentAt(e.getX(), e.getY()); if (c instanceof
JLayeredPane
) return; dragComponent = c; xAdjustment = dragComponent.getLocation().x - e.getX(); yAdjustment…
Re: How to delete a component, when it is double-clicked?
Programming
Software Development
13 Years Ago
by LianaN
… c = layeredPane.findComponentAt(e.getX(), e.getY()); if (c instanceof
JLayeredPane
) return; dragComponent = c; xAdjustment = dragComponent.getLocation().x - e.getX(); yAdjustment…
1
2
3
4
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
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
© 2024 DaniWeb® LLC