Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
panel
- Page 1
Re: Shared Printer Problem
Hardware and Software
Microsoft Windows
3 Weeks Ago
by marythodge4
… physically connected. On the desktop (host) computer: Go to Control
Panel
> Printers and Faxes. Right-click on the shared printer…
Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Months Ago
by jprog1000
… a new ball when two balls collide in the Ball
Panel
class. When I tried creating a new ball in the…
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Months Ago
by jprog1000
Hello, Thank you again so much! All your additions are clear, but it seems like whenever two balls collide, more than one ball is added to the arraylist and painted. Any way to have just one ball added to the
panel
for every collision? Have some kind of a toggle flag in paintcomponent? Regards
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
by Dani
… access to the server, perhaps through a web-based control
panel
like cPanel, etc.? At first glance, I see that on…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
by david.tigner
… access error logs or how can a web based control
panel
like cPanel be obtained ?
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Months Ago
by toneewa
Some minor syntax fixes. Some things to consider are the collision and distance of drawing the next ball. A ball inside a ball's radius will cause numerous collisions. Even the starting ball locations can be already causing collisions. I added a collision counter display. Increased the maximum balls to make to 50. The timer delay can also impact …
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Months Ago
by jprog1000
Thank you so much for your reply and additions! It is certainly working as I wanted. I will read through the code you have added and ask you any questions I might have. I hope you don't mind. Regards
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Months Ago
by Dani
I’ll mark this question solved :)
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Months Ago
by Dani
… oh, sorry, missed the bit about you still needing clarifications. Feel feee to ask :) I’ll now unmark this topic as solved. /facepalm
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Months Ago
by toneewa
I cleaned up the code some more. Removed some things that were not being used. I ran into a couple problems which caused the freeze you mentioned. It was memory heap space and array allocating. E.g., if x or y becomes negative, and also infinite recursion. I added a x/y coordinate display for a ball, and tinkered with the placement of the …
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Months Ago
by toneewa
Yes, this is true. Overlapping ball spawns can do that causing a chain reaction. Something like that could be done. How you handle the spawning of the new ball is what I played with a bit before. You will see better collision detection changing to: g.fillOval(ball.getX(), ball.getY(), 1 * ball.getRadius(), 1 * ball.getRadius());
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
1 Month Ago
by jprog1000
Got it. Thank you so much!
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
1 Month Ago
by aishamushtaq
Hi, Its helpful for me. I got my answer.
panel
Programming
Software Development
16 Years Ago
by Lukezzz
…. What happens when pressing Yes is that a
panel
will be Visible. On this
panel
, I have a label that shows text…, like the code below. The problem is that when the
panel
gets "Visible", the label that show text will…
Re: panel
Programming
Software Development
16 Years Ago
by Lukezzz
… is that after the messagebox dissapear and will show the
panel
with a label with some text, this happens: 1. The… finished. 2. The Text that the label contains on the
panel
will first show after the progressbar is finished. I tried…
Re: panel
Programming
Software Development
14 Years Ago
by sknake
… idea to extract the values from the controls in the
panel
and feed it to a report writer. If you still… want to print your
panel
I think you're going to have to work some… set the vertical scroll position to 0, screenshot the
panel
, scroll the
panel
down, take another screen shot, etc and combine the…
Re: panel
Programming
Software Development
16 Years Ago
by Lukezzz
… on the messagebox, the panel3 will show and on this
panel
I have a label72 that says. "Text" Then…
Re: panel
Programming
Software Development
14 Years Ago
by Egypt Pharaoh
but if the
panel
has a scrollbar the saved picture will be about the shown site I want to save the all the
panel
Re: panel
Programming
Software Development
14 Years Ago
by sknake
Try explaining what you're doing in more detail. Why does this need to be a picture? Are you trying to print the contents of the
panel
? What kind of controls are in the
panel
?
Re: panel
Programming
Software Development
14 Years Ago
by Egypt Pharaoh
yes I am trying to print the contents of the
panel
? What kind of controls are in the
panel
?
Panel
Programming
Web Development
16 Years Ago
by plusplus
Is a
panel
lin vs ike a frame in vb
panel
Programming
Software Development
14 Years Ago
by Egypt Pharaoh
how can I get a picture of the
panel
that in my application and save it
Re: panel
Programming
Software Development
14 Years Ago
by ddanbe
If a
Panel
as you call it, is in fact a PictureBox, just use the Image property to get the whole picture.
Panel Background Based On Timer
Programming
Software Development
13 Years Ago
by guru_iyer
…; class TimerBackground implements ActionListener { JFrame frame; JPanel
panel
; JButton btnStart; JButton btnRed; JButton btnGreen; JButton ….setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); frame.setContentPane(
panel
);
panel
.add(btnStart);
panel
.add(btnStop);
panel
.add(btnRed);
panel
.add(btnGreen); t.start(); }…
Panel Autoscroll not working
Programming
Software Development
14 Years Ago
by Cap'nKirk
…form and am displaying a picturebox on that
panel
. I have set the
Panel
Autoscroll to true. Even when I manually make… the
panel
smaller than the picturebox, no scrollbars are shown, why …flickr.com/photos/"); }; }[/CODE] As you can see, the
panel
has been set as the parent of the picturebox. I…
Panel refesh problem.....
Programming
Software Development
13 Years Ago
by Nivass
…, I have painted the image on the
panel
and drawn rectangle. now i like to… on that. My problem is when i use
panel
.invalidate in paint or in mouse move, panle… when i move the mouse over the
panel
). SO i used
panel
.invalidate in other events (mouse click, …able to see the moving of rectangle. (the
panel
only get refreshed after i release the mouse …
Panel Sliding and MouseEnter Problem - VB.NET
Programming
Software Development
13 Years Ago
by Mr Programmers
… the players. These are my problems: 1. I want the
Panel
to slide (Sliding Up and then Down, then Up and… MouseEnter event to work when the mouse touches the
Panel
during the
Panel
is sliding. 3. Is it right to use a… and enabled when Button1 is clicked. Timer's interval: 100
Panel
's name: Panel1 Timer's name: Timer1 When the user…
Panel Control hides the other control
Programming
Software Development
12 Years Ago
by tapandesai007
…Forms.Button(); this.PlatinumPanel = new System.Windows.Forms.
Panel
(); this.SuspendLayout(); // // btnPlatinum // this.btnPlatinum.….Forms.Button btnReset; private System.Windows.Forms.
Panel
PlatinumPanel; } } The code in the …
Panel Size
Programming
Software Development
15 Years Ago
by Blackeagle
…' having a small problem with panels. i want the
panel
always to have the same size even when empty. in…program that i'm writting, i can see that the
panel
doesnt fit all the area where i put it (… as i have different colors for each frame and
panel
). the
panel
starts getting bigger when i add things to it…the Jtable i'm adding to fit all the
panel
??
panel that has calc which can be re-sized
Programming
Software Development
13 Years Ago
by joe'g
hi am trying to code a program that uses a
panel
that has a functional calculator in it, and the calculator … = new JLabel("Calclator"); JPanel
panel
= new JPanel();
panel
.add(slider);
panel
.add(label); frame.add(
panel
, BorderLayout.WEST); frame.setSize(400, 400…
1
2
3
17
Next
Last
Search
Search
Forum Categories
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
Forums
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
© 2024 DaniWeb® LLC