How Do i make a 3D Box in Motion?
I know motion isnt really a 3D program but can i still make a 3D box?? How Can I..?
As I haven't chimed in on the old box question recently,
http://idustrialrevolution.com/component/option,com_sobi2/sobi2Task,sobi2Details /catid,3/sobi2Id,14/
Log on to get the project
Peter
I may receive some form of compensation, financial or otherwise, from my recommendation or link.
Similar Messages
-
How can I make the combo box turn to the value of black.
When the show button is pressed (and not before), a filled black square should be
displayed in the display area. The combo box (or drop down list) that enables the user to choose the colour of
the displayed shape and the altering should take effect immediately.When the show button is pressed,
the image should immediately revert to the black square, the combo box should show the value that
correspond to the black.
Now ,the problem is: after I pressed show button, the image is reverted to the black square,but I don't know
how can I make the combo box turn to the value of black.
Any help or hint?Thanks a lot!
coding 1.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
public class test extends JFrame {
private JPanel buttonPanel;
private DrawPanel myPanel;
private JButton showButton;
private JComboBox colorComboBox;
private boolean isShow;
private int shape;
private boolean isFill=true;
private String colorNames[] = {"black", "blue", "cyan", "darkGray", "gray",
"green", "lightgray", "magenta", "orange",
"pink", "red", "white", "yellow"}; // color names list in ComboBox
private Color colors[] = {Color.black, Color.blue, Color.cyan, Color.darkGray,
Color.gray, Color.green, Color.lightGray, Color.magenta,
Color.orange, Color.pink, Color.red, Color.white, Color.yellow};
public test() {
super("Draw Shapes");
// creat custom drawing panel
myPanel = new DrawPanel(); // instantiate a DrawPanel object
myPanel.setBackground(Color.white);
// set up showButton
// register an event handler for showButton's ActionEvent
showButton = new JButton ("show");
showButton.addActionListener(
// anonymous inner class to handle showButton events
new ActionListener() {
// draw a black filled square shape after clicking showButton
public void actionPerformed (ActionEvent event) {
// call DrawPanel method setShowStatus and pass an parameter
// to decide if show the shape
myPanel.setShowStatus(true);
isShow = myPanel.getShowStatus();
shape = DrawPanel.SQUARE;
// call DrawPanel method setShape to indicate shape to draw
myPanel.setShape(shape);
// call DrawPanel method setFill to indicate to draw a filled shape
myPanel.setFill(true);
// call DrawPanel method draw
myPanel.draw();
myPanel.setFill(true);
myPanel.setForeground(Color.black);
}// end anonymous inner class
);// end call to addActionListener
// set up colorComboBox
// register event handlers for colorComboBox's ItemEvent
colorComboBox = new JComboBox(colorNames);
colorComboBox.setMaximumRowCount(5);
colorComboBox.addItemListener(
// anonymous inner class to handle colorComboBox events
new ItemListener() {
// select shape's color
public void itemStateChanged(ItemEvent event) {
if(event.getStateChange() == ItemEvent.SELECTED)
// call DrawPanel method setForeground
// and pass an element value of colors array
myPanel.setForeground(colors[colorComboBox.getSelectedIndex()]);
myPanel.draw();
}// end anonymous inner class
); // end call to addItemListener
// set up panel containing buttons
buttonPanel = new JPanel();
buttonPanel.setLayout(new GridLayout(4, 1, 0, 50));
buttonPanel.add(showButton);
buttonPanel.add(colorComboBox);
JPanel radioButtonPanel = new JPanel();
radioButtonPanel.setLayout(new GridLayout(2, 1, 0, 20));
Container container = getContentPane();
container.setLayout(new BorderLayout(10,10));
container.add(myPanel, BorderLayout.CENTER);
container.add(buttonPanel, BorderLayout.EAST);
setSize(500, 400);
setVisible(true);
public static void main(String args[]) {
test application = new test();
application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
coding 2
import java.awt.*;
import javax.swing.*;
public class DrawPanel extends JPanel {
public final static int CIRCLE = 1, SQUARE = 2;
private int shape;
private boolean fill;
private boolean showStatus;
private int shapeSize = 100;
private Color foreground;
// draw a specified shape
public void paintComponent (Graphics g){
super.paintComponent(g);
// find center
int x=(getSize().width-shapeSize)/2;
int y=(getSize().height-shapeSize)/2;
if (shape == CIRCLE) {
if (fill == true){
g.setColor(foreground);
g.fillOval(x, y, shapeSize, shapeSize);
else{
g.setColor(foreground);
g.drawOval(x, y, shapeSize, shapeSize);
else if (shape == SQUARE){
if (fill == true){
g.setColor(foreground);
g.fillRect(x, y, shapeSize, shapeSize);
else{
g.setColor(foreground);
g.drawRect(x, y, shapeSize, shapeSize);
// set showStatus value
public void setShowStatus (boolean s) {
showStatus = s;
// return showstatus value
public boolean getShowStatus () {
return showStatus;
// set fill value
public void setFill(boolean isFill) {
fill = isFill;
// set shape value
public void setShape(int shapeToDraw) {
shape = shapeToDraw;
// set shapeSize value
public void setShapeSize(int newShapeSize) {
shapeSize = newShapeSize;
// set foreground value
public void setForeground(Color newColor) {
foreground = newColor;
// repaint DrawPanel
public void draw (){
if(showStatus == true)
repaint();Hello,
does setSelectedIndex(int anIndex)
do what you need?
See Java Doc for JComboBox. -
How can I make a gray box or gray screen in Pages over a few lines of text?
How can I make a gray box or gray screen in Pages over a few lines of text?
Thanks. Almost what I was looking for.
While that makes for a gray over the lines, it still does not form a box.
Any other suggestions to form a solid rectangular gray box? -
When insert my photos into theme preset photo boxes my photos don’t fit the proportions of the box and get cropped. Part of the photo cannot be seen. I see how one can make a text box in Keynote, but how can one make a photo box that is different then standard dimensions within the themes? Or is it possible to change the proportions of the ones already created within the themes?
Thank you!
Pasquale M.Never mind. I fiured it out. All I have to do is remove the mask.
Thanks for looking,
PM -
How we can make CQ dialog box movable on page like sidestick?
Hello All,
How we can make CQ dialog box movable on page like sidestick.
Should we have to use any property for that.
Please tell me if any onw know this ticks.
Thanks a ton in advance...
Regards,
SatishYou could use dialogMode property configured under cq:editConfig node.
dialogMode : floating
http://dev.day.com/docs/en/cq/current/developing/components.html
This should make your component dialog float and be movable.
- Ashish -
How can I make a check box active ONLY if another check box is activated?
How can I make a check box active ONLY if another check box is activated?
I have an editable PDF for a client, which contains text fields and check box fields.
There are three main check boxes (let's call them A, B and C) that the user is required to choose from, and I have given all three the same name in the Name tab of the General tab menu but different export values in order that ONLY one of the boxes can be checked at any time. Ticking one will deactivate another if it is already checked, etc.
However, I then have a further two check boxes which I wish to become available ONLY if the second one of the above three boxes is checked. Other than that I do not wish the user to have access to them.
I'm guessing it requires some kind of Action Script or Javascript, which is not my forté! Any help would be much appreciated.
Regards
TonySee Disabling (graying-out) Form Fields by Thom Parker. It covers both Acrobat and LiveCycle forms.
-
How do i make a transparent box to place around some existing text?
How do i make a transparent box to place around some existing text?
Where? When? What? Sorry, you have not told us anything about your system or what program you mean nor any other details, so nobody can know anything. Ask in the forum for whatever program you are referring to.
Mylenium -
How can I make a text box in Aperture transparent??
Hello,
After a great trip to Thailand I want to make a book of all my pictures using Aperture 3. At some places in the book I use a title to indicate what will be shown on the image. This title is made by the text box and it is put on the image itself. Now what I would like is to make is a transparent bar of the text box, so that I still can see the details of the image through this bar and also read the text about the image easily.
I have no problems making this text box and putting it in the right place, the thing that I don't understand, after two nights of trying, is how to make this text box transparent.
Any help is appreciated!
Thanks in advance!Perhaps I need to reformulate what I exactly want to do...!
I would like to use transparent text boxes but not as transparent as the image itself. I want to show the text box as a real bar but slightly different than the original image colour. So something between a normal image and a white bar so that it will be a bit transparent but also shown as a real bar..
I think the text boxes of each theme are identical, so yes you are right about the transparent text boxes of art collection but they are the same as photo essay.
Do you understand what I mean? -
How can I make a color box indicator transparent?
All, I would like to make a color box, which is part of a cluster in an array, transparent programmatically. Instead of appearing transparent, it shows up with a LARGE "T" inside the color box, with a white background. Because it is part of a cluster within an array, it will not work to use a property node... and because I would like to programmatically change the color, having it permanenty transparent (as proposed on another discussion topic) will also not work. Can someone please help me turn a color box transparent programmatically?
Thanks.
AnthonyThe problem is that arrays of clusters cannot be passed into property nodes as falkpl has previously said. The attached jpeg shows how you would programmatically break the arrays into cluster, into elements, and then manipulate that color box to a transparent one. The T within the white color box indicates transparent though. If you were to attached that to a color attribute then you would see that object disappear (well I guess not since it's transparent )
Grant H.
National Instruments
LabVIEW Product Marketing Manager
Attachments:
color box.JPG 21 KB -
The email that I am reading is very large with a lot of stuff that I do not need to see. How can I make my box smaller?
''hhennes [[#question-1047185|said]]''
<blockquote>
The email that I am reading is very large with a lot of stuff that I do not need to see. How can I make my box smaller?
</blockquote> -
How can I make the annotation box show in the printed word version on the pages app?
I want to insert annotation box on the side of the text. But I found that i cannot do that, and the annotation box disappear on the printed version of my document. How can I make that appear on my printed verison? Thank you!
You are referring to Comments and Apple has removed the old method from Pages 5.
If it is important to you go back to using Pages '09 which should still be in your Applications/iWork folder.
Peter -
How do you make a virtual box available to all users
Hello everyone,
My parents just recently bought a new iMac as our "family" computer, which means we have multiple accounts on it. There is a couple of pieces of software still use on a regular basis that only works in Windows, so I was going to make a virtual box so we could run them. My question is, though I have done this several time on single account computers, how do I make one virtual machine available on multiple accounts. I don't want to waste hard drive space making a virtual box for every account. Thanks much for any help you can give me!What you need to know is here:
http://www.apple.com/findouthow/mac/#windowsmac -
How can I make a text box with 2 columns?
I can't figure out how to make a text box with two columns. I made one in pages and pasted it into iWeb but it seems to have turned it into an image when I published to a folder. I want to keep it text so the search engines will index it.
Any suggestions would be greatly appreciated.
Thanks, DavidYou will have to create two text boxes, configure them as columns and then paste into the first and cut where you want the columns to end and paste the remainder into the second column as on this page . I've tried saving a two column Word document as a web page and it just converts it to one column.
OT -
I have a tiled background image but sometimes the white box only covers half the content and my tiled image is displayed under the other half of the content... Do I have to manually make the box for each page or is there a way to attach it to both the header and footer so it expands depending on how much content is on each page while retaining my background image in only the border areas?
Muse doesn't have that specific feature. However, in may cases the desired effect can be achieved by inverting how you think about it.
Using a 100% with rectangle with a fill image for your header and another for your footer, that leaves the page fill and/or background fill image to grow and shrink to fill he space between your header and footer. If you only want one column of your page design to have this effect, you may be able to achieve that using a vertically repeating background fill image for the page or browser fill (where the fill is a horizontal band the with color only where you want the vertical column to appear. -
How do I make a text box in a Master Slide that will have a Bold headline and Medium bullets?
I wan't one Master box that will accomodate the above. Start bold, hit return for bullets and the font will be medium/light.
Please/Thanks-
RichBut doing it your way above, I can't edit the text in a slide. When I double clicke I get the You Have To Edit The Master message. When I check the box...all is lost...see the above. I started with a whole new presentation and went to the blank slide and copied/renamed it...Thanks for your help so far Gary...I've got Keynote '09, version 5.1.1 (1034) if that makes the difference...
Maybe you are looking for
-
Any idea what a blank screen with a flashing folder with a question mark inside of it means???
-
Hello All, Through SPRO, when I am trying to copy company code 0001 to 9999 (with currency USD), I am getting following error ""Enter numeric values only The value "12 " was entered in the field "REICHWEITE". This is not possible because it is a nume
-
Headless macPro screen resolution
So of this info maybe useful to some, but I'm hoping others maybe able to improve on it. On this headless system I connect via screen sharing. The problem is the resolution is I think limited to 800 x 600 or similar without any screen plugged in. Now
-
How to acccess icloud photos on mac
I'm trying to figure out how to see/access all the photos taken on my i6, which are stored in the iCloud, on my MacBook Pro. Thanks
-
SSD in PowerMac G4 1.42GHz
Hi. New member, first posting. So please bear with me – and thank you in advance! I own a PowerMac G4 1.42GHz with three internal mechanical SATA hard drives. The SATA drives operate by virtue of two Sonnet Tempo SATA PCI Cards (each card has two cha