CS4 no Background Image for cells
In CS3 there was a way to insert background images in a cell
using the Property Inspector. Now in CS4 it isn't there!! What
gives?
http://www.projectseven.com/tutorials/css/qdmacfly/index.htm
http://www.macromedia.com/devnet/mx/dreamweaver/css.html
http://www.macromedia.com/devnet/dreamweaver/articles/tableless_layout_dw8.html
http://www.macromedia.com/devnet/dreamweaver/articles/css_concepts.html
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"cdscindy" <[email protected]> wrote in
message
news:gdd0jh$t33$[email protected]..
> >With CSS, you define the rule in one place and it
affects all table
> cells to which the rule is applied. If you want to
change the
> background, you change just one place.
>
> You win! Sort of... I have been using html for a
looooong time. Works
> pretty
> good for me. I just can't see an instance where using
backgrounds in so
> many
> cells would even happen. Normally I would just change
the background once
> by
> changing it in PS.
>
> Its looking more and more like I am going to have to
refine my CSS. I want
> simple...simple book or tutorial. I don't have time
these days to have a
> long
> learning curve. So on the simple part, any ideas?
>
>
Similar Messages
-
How to get background image in cell not to repeat help please.
hi folks,
i want to fill a cell with a background image and not have
the image repeat if the cell is resized by a viewer by enlarging
the text. (Previously i jsut used CSS to control the text, so it
couldn't be rezied, but now it seems that firefox ignores the CSS).
ANyway i would like people not to be able to resize the cell and
the background not to repeat.
Here is an example that when the text is resized the
background image and cell saty the same but a scroll bar appears
for the text.
http://www.stephenhuyler.com/projects.cfm
thanks for any help!Use CSS -
td.special { background-repeat:no-repeat; }
for this cell -
<td class="special"....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"intolight" <[email protected]> wrote in
message
news:enh08e$8u9$[email protected]..
> hi folks,
>
> i want to fill a cell with a background image and not
have the image
> repeat if
> the cell is resized by a viewer by enlarging the text.
(Previously i jsut
> used
> CSS to control the text, so it couldn't be rezied, but
now it seems that
> firefox ignores the CSS). ANyway i would like people not
to be able to
> resize
> the cell and the background not to repeat.
>
> Here is an example that when the text is resized the
background image and
> cell
> saty the same but a scroll bar appears for the text.
>
http://www.stephenhuyler.com/projects.cfm
>
> thanks for any help!
> -
Background-image for commandToolbarButton
Hi,
I want to skin af:commandToolbarButton similar to standard skinned commandbutton.
I managed to change the background-image for the link-section, but there seems to be a other section with a background-image which is a little bit bigger than the link-section.
But I can't find how to e.g. disable this background-image when mouse is moved over the commandtoolbarbutton.
Here my CSS definition for the hover-action:
================================
af|commandToolbarButton:hover,
af|commandToolbarButton::link:hover,
af|commandToolbarButton::text:hover
background-image: none;
border : none;
============================
What's my mistake?
regards
PeterHi,
if you extend an existing skin then you need to use
-tr-inhibit: background-image
Here's a list of the valid CSS
af|commandToolbarButton
Style on the root element of the af:commandToolbarButton component. This style includes the .AFDefaultFont:alias style. CommandToolbarButton supports further styling with the :hover, :depressed, :selected, :disabled, :text-only and :action-disabled pseudo-classes.
af|commandToolbarButton::access-key
Style on the access key for the label of the af:commandToolbarButton component. For example, underline the access key. Includes .AFFormAccessKeyStyle:alias.
af|commandToolbarButton::link
Style on the button link on the af:commandToolbarButton component.
af|commandToolbarButton::text Style on the button text on the af:commandToolbarButton component.
af|commandToolbarButton::dropdown-cell
Style on the cell containing the dropdown icon used for the popup button of the af:commandToolbarButton component.
af|commandToolbarButton::dropdown-icon-style
Style of the icon used for the popup button of the af:commandToolbarButton component. The icon is specified as a background-image in this key. To override the default icon, set -tr-inhibit: background-image in the dropdown-icon-style and define the override icon for the dropdown-icon.
Frank -
Adding A Separate Background Image For Each Menu Item
I asked this in the Spry forum, and not sure I understand the answer. Plus, I should have been more specific in asking how to do it, as I'm still pretty new to this stuff. Nothing I'd found indicated it could be done, or how.
Org question -
I know you can apply a background image to the menu bar items, but is it possible to add a background image for each individual item? What I'm basically trying to keep are the effects (bevel/emboss, etc.,) that I attached to the text, when I created it in PS CS4.
Answer -
Yes you can. The widget is just normal plain html markup so you can just add other classNames or id attributes to the elements. And style the elements through those classes/ids.
Does this mean I'd have to write a new rule for each menu item? What?
Thank you.Did an Adobe Tutorial for creating/entering a Spry Menu Bar. This is the HTML, after I took out the submenus.
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="news.html">Features</a></li>
<li><a href="news.html">News</a></li>
<li><a href="news.html">Fashion</a></li>
<li><a href="news.html">Lifestyle</a></li>
<li><a href="news.html">Calendar</a></li>
</ul>
This is from the SpryMenuBarHorizontal.css (It seems like I need to make changes in the Design Info section of this code. But nothing I've tried has worked):
/* The outermost container of the Menu Bar, an auto width box with no margin or padding */
ul.MenuBarHorizontal
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
cursor: default;
width: auto;
text-transform: uppercase;
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
ul.MenuBarActive
z-index: 1000;
/* Menu item containers, position children relative to this container and are a fixed width */
ul.MenuBarHorizontal li
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
position: relative;
text-align: left;
cursor: pointer;
width: 7em;
float: left;
/* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
ul.MenuBarHorizontal ul
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
z-index: 1020;
cursor: default;
width: 8.2em;
position: absolute;
left: -1000em;
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
left: auto;
/* Menu item containers are same fixed width as parent */
ul.MenuBarHorizontal ul li
width: 8.2em;
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
ul.MenuBarHorizontal ul ul
position: absolute;
margin: -5% 0 0 95%;
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
left: auto;
top: 0;
DESIGN INFORMATION: describes color scheme, borders, fonts
/* Submenu containers have borders on all sides */
ul.MenuBarHorizontal ul
border: 1px solid #CCC;
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarHorizontal a
display: block;
cursor: pointer;
background-color: #EEE;
color: #333;
text-decoration: none;
/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
background-color: #33C;
color: #FFF;
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
background-color: #33C;
color: #FFF;
SUBMENU INDICATION: styles if there is a submenu under a given menu item
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenu
background-image: url(SpryMenuBarDown.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
background-image: url(SpryMenuBarRight.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
background-image: url(SpryMenuBarDownHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
background-image: url(SpryMenuBarRightHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
BROWSER HACKS: the hacks below should not be changed unless you are an expert
/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBarHorizontal iframe
position: absolute;
z-index: 1010;
filter:alpha(opacity:0.1);
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
ul.MenuBarHorizontal li.MenuBarItemIE
display: inline;
f\loat: left;
background: #FFF; -
Trying to figure out how to code background images for
various cells within
a table. I tried writing a css rule but nothing shows up.Most likely there is a bug in your code. We'd need to see it
to know.
Your Properties panel looks fine.
Anyhow, back up to the "Set table properties" section and
read the comments
at the bottom.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"tweaked_eye" <[email protected]> wrote in message
news:ggfgqv$bme$[email protected]..
> Maybe there is a bug with my install....???
>
> Here is a snag of my windows properties panel....
>
>
http://vegasphotographics.com/photos/423947819_65SHu-XL.jpg
>
> There is no box for background image.
>
>
http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WS9CA317DF-CF04-4177-9180-24C0BA715489a .html
>
>
> Should I have a background image option there?
>
>
> "tweaked_eye" <[email protected]> wrote in
message
> news:ggfdn1$864$[email protected]..
>> Trying to figure out how to code background images
for various cells
>> within a table. I tried writing a css rule but
nothing shows up.
>>
>
> -
How can I use a JPEG file as a background image for my vi in 8.5
Im working on a vi that I plan on using as part of an alarm system. I would like to use a JPEG file of my house as a background image for the vi, or possibly to just be displayed in a window on the control panel. I have seen people use their own images before, but never looked at what this involved.
Im trying to use the "read JPEG file" vi and the "draw flattened pixmap" vi to accomplish this. The vi does run, but nothing shows on the front panel. If I try to create an indicator from the "new picture" output of the "draw flattened pixmap" vi, I get an empty white window on the front panel.
Any advice?
Thanks
Solved!
Go to Solution.Guruthilak wrote:
the earlier vi (using the JPEG) works fine. just increase the size of the picture control
I figured this was the problem. And to the OP, I'm glad a bitmap worked, but no I didn't mean use any sort of LabVIEW programming at all. I meant open your image in Microsoft Paint, Press ctrl+A to select the whole thing. Then copy the image to the clipboard. Now select your front panel and press ctrl + v to paste it. No programming needed and the image is there. However, if you want to programmatically change it, you will need a picture control.
CLA, LabVIEW Versions 2010-2013 -
How to create a background image for each item in a List object
Hello.
I am trying to create a background image that displays whenever a user posts something to a list. For example when a user posts text it would appear in a list. The new item in the list would contain a specific background image with the users text appearing on top of the background image. I do not want a background image for the entire list, rather each item within the list.
I am not sure how clear this is so I added an image below. When a user enters text in and clicks the "post-it" button their text would appear below with the sticky note background.
I am not sure which list type would be best for this problem or how to create insert the image, so I am open to suggestions.
Thank you for your help. Any advice or guidance will be greatly appreciated!Hi
the easiest way would be with itemRenderer.
You have to do two things:
1. In your list declaration use a item renderer: <mx:List itemRenderer="myRenderer"/>
2. create a flex component myRenderer that will be the single item. This can be a canvas with a background image and a text field on it.
When you add a new item to the list, a new myRenderer item will be created and the data property will be passed to it. So you have to put "data" in your textField.
If you need more help try looking at Tour de Flex samples, they're pretty easy.
Andrei -
Background image for a Scene in JavaFX2.0
Hi all,
I am new to JavaFX2.0 and need to know how to set a background image for a scene.
Thanks in advance.Hi,
here is simple example:
bgtest.css
.root {
-fx-background-image: url("mybg.jpg");
}BackgroundImage.java
package playground;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.StackPane;
import javafx.stage.Stage;
public class BackgroundImage extends Application {
StackPane root;
Scene scene;
Button button;
public static void main(String[] args) {
launch(BackgroundImage.class, args);
@Override
public void start(Stage stage) throws Exception {
stage.setTitle("Custom Background Test");
button = new Button("test");
root = new StackPane();
root.getStyleClass().add("root");
root.getChildren().addAll(button);
scene = new Scene(root, 600, 600);
scene.getStylesheets().add(BackgroundImage.class.getResource("bgtest.css").toExternalForm());
stage.setScene(scene);
stage.centerOnScreen();
stage.setVisible(true);
} -
Hi All,
How to have a background image for a Portalpage? As Portlets are on the top of page,setting image in the Portal Style does not help.
What's the wworkaround?
ThanxI know,I can set the background image in the Page Template but in that case Portlets do not take that image as a background.Then It looks very awkward.
How to solve this? Anybody at Oracle.
Thanx -
How to add different background image for submenu items???
Hi all,
I'm pretty new to web design and CSS in particular. Here's my problem...
I've got a Spry horizontal menu bar (untouched as yet), and I want to have a different background image for my submenu items than that of my menu items. From searching the internet I think that I need to apply a class to the submenu item (please correct me if I am wrong).
How would I go about doing this and how would I assign the class to just the submenu items?
Also ideally I want to have my first and last menu items to have rounded corners on one side (therefore making a rounded edge menu bar), is it possible to have a different background image for individual menu items? If so, how?
Really appreciate any help!Thanks for the link! I've managed to sort the background issue, and it seems to be working fine!
Just one little issue left to tackle...
I want my text to be centered in my top menu items BUT aligned left in my drop down menu items. I have managed this but the text hugs the left hand side. I've tried adding a little margin to the left but that doesn't seem to affect anything???
Here's my CSS... Any ideas which class I should be targeting or why adding the margin isn't working would save my tearing the rest of my hair out! thanks! (screenshot attached).
@charset "UTF-8";
/* SpryMenuBarHorizontal.css - Revision: Spry Preview Release 1.4 */
/* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
LAYOUT INFORMATION: describes box model, positioning, z-order
/* The outermost container of the Menu Bar, an auto width box with no margin or padding */
ul.MenuBarHorizontal
margin: 0;
padding: 0;
list-style-type: none;
cursor: default;
width: auto;
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
ul.MenuBarActive
z-index: 1000;
/* Menu item containers, position children relative to this container and are a fixed width */
ul.MenuBarHorizontal li
margin: 0;
list-style-type: none;
position: relative;
text-align: left;
cursor: pointer;
width: 120px;
float: left;
height: 24px;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
background-repeat: repeat-x;
background-color: #333333;
background-image: url(../images/navbar_bg.jpg);
border-right-width: 1px;
border-left-width: 1px;
border-right-style: solid;
border-left-style: solid;
border-right-color: #000000;
border-left-color: #666666;
ul.MenuBarHorizontal li li
list-style-type: none;
position: relative;
text-align: left;
cursor: pointer;
width: auto;
float: left;
height: 24px;
background-color: #333333;
background-image: none;
padding: 0;
margin: 0;
left: -1px;
ul.MenuBarHorizontal li li a
list-style-type: none;
position: relative;
text-align: left;
cursor: pointer;
float: left;
height: 24px;
background-image: none;
font-size: 12px;
font-weight: normal;
border: 0px 0 0;
width: 120px;
font-family: Geneva, Arial, Helvetica, sans-serif;
padding: 0;
margin: 0;
/* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
ul.MenuBarHorizontal ul
margin: 0;
list-style-type: none;
font-size: 100%;
z-index: 1020;
cursor: default;
width: 120px;
position: absolute;
left: -1000em;
height: 24px;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
left: auto;
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
ul.MenuBarHorizontal ul ul
position: absolute;
height: 24px;
width: 120px;
margin-top: -5%;
margin-right: 0;
margin-bottom: 0;
margin-left: 95%;
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
left: auto;
top: 0;
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarHorizontal li a
display: block;
cursor: pointer;
text-decoration: none;
font-style: normal;
text-transform: capitalize;
text-align: center;
white-space: normal;
padding: 0px;
height: 24px;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #FFFFFF;
line-height: 20px;
margin: 0px;
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarHorizontal li a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
background-color: #000000;
background-image: url(../images/navbar_bg_hover.jpg);
background-repeat: repeat-x;
line-height: 22px;
ul.MenuBarHorizontal li li a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
background-color: #000000;
background-image: none;
background-repeat: repeat-x;
width: 120px;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #FFFFFF;
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenu
background-repeat: repeat-x;
background-position: 95% 50%;
background-color: #333333;
background-image: url(../images/navbar_bg.jpg);
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
background-repeat: repeat-x;
background-position: 95% 50%;
background-color: #000000;
background-image: url(../images/navbar_bg_hover.jpg);
BROWSER HACKS: the hacks below should not be changed unless you are an expert
/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBarHorizontal iframe
position: absolute;
z-index: 1010;
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
ul.MenuBarHorizontal li.MenuBarItemIE
display: inline;
f\loat: left; -
Setting background image for repeating frame in .pdf report
Is it possible to set a background image for a repeating frame, and more specifically for a repeating frame rendered in .pdf?
I do not see any standard property in the navigator for images of any sort and the documentation touches only on setting background images for graphs, which is not the intent in my case. I -did- add an HTML table property background="myimage.jpg" but the report is ultimately generated in .pdf format and I was not surprised to see that the image was not rendered.
Does anyone know if setting a background image as described is even possible, and if so, how? A second but less optimum solution would be setting the image as the background for all report pages, again in .pdf.
Many thanks.Hi Raj,
Yes you can have an image in the background. Thats possible if you are using XML forms as an iview or ivew dev in WebDynpro...
Also check this [link|regarding background color change in iview]
Regards,
Piyush
Reward points if this helps!!! -
How to change background image for each individual page in a template?
I've been working for hours to try to figure out how to change the background image for each individual page in a template. I have tried making a div in the body and adding a CSS and setting a background picture. Unfortunately even after I made it editable all templated webpages changed. I tried looking at different forum results which didn't really help me out. http://forums.adobe.com/message/2670005#2670005#2670005. I've also tried embeding a CSS style on the webpage instead of the external CSS which again didn't work. I'm not sure where to go from here. Is there a good video that explains this clearly. Please help. Thanks.
Adjust inline styles to suit your needs.
<li><a tabindex="-1" href="giving/index.html" class="MenuBarItemSubmenu" style="background:none; color:#FFF; background: #000;">GIVING</a>
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
Background image for ApplicationControlBar
Hello,
Forgive my english and its accent, this is a bit urgent.
I need to set a background image for an
applicationContolBar... with css and with css only(an external css
file)
I tried a few ways but no use... is this possible?
Please help...
sharat87"sharat87" <[email protected]> wrote in
message
news:gdphmq$aee$[email protected]..
> Hello,
> Forgive my english and its accent, this is a bit urgent.
> I need to set a background image for an
applicationContolBar... with css
> and
> with css only(an external css file)
> I tried a few ways but no use... is this possible?
Can the CSS file have embed statements? -
Background image for JPanel using UI Properties
Is there any way to add background image for JPanel using UI Properties,
code is
if (property.equals("img")) {
System.out.println("call image file in css"+comp);
//set the background color for Jpanel
comp.setBackground(Color.decode("#db7093"));
here the comp is JPanel and we are setting the background color,
Is there any way to put the Background image for the JPanel ????KrishnaveniB wrote:
Is there any way to put the Background image for the JPanel ????Override the paintComponent(...) method of JPanel.
e.g.
import javax.swing.*;
import java.awt.*;
import java.io.*;
import javax.imageio.ImageIO;
public class ImagePanel {
public void createAndShowUI() {
try {
JFrame frame = new JFrame("Background Image Demo");
final Image image = ImageIO.read(new File("/home/oje/Desktop/icons/yannix.gif"));
JPanel panel = new JPanel() {
protected void paintComponent(Graphics g) {
g.drawImage(image, 0, 0, null);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(new Dimension(400, 400));
frame.setContentPane(panel);
frame.setLocationRelativeTo(null);
frame.setVisible(true);
} catch (IOException ex) {
ex.printStackTrace();
public static void main(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
public void run() {
new ImagePanel().createAndShowUI();
} -
Hi,
Is it possible to add a background image for a chart. If so, can anybody please explain?
Thanks in advance.
Fred> Is there a way to apply an image to the background of a graph/chart? I would
> like to overlay a plot on an image, which would make the vi more friendly
> for users.
>
You can place images pretty much anywhere on the panel or on a control.
Probably the easiest approach is to place the image behind the graph and
color the graph parts transparent. You will need to color both the
graph frame, the gray box, and the plot area, typically its black. If
both of these are transparent, the graph will draw
slower than before, but it should look correct.
To integrate the image a bit more with the graph, you can use the
control editor to place the picture behind the black plot area, but in
front of the frame, then color just the plot area transparent. This
means that the
image and control will stick together better. Its also
possible to import the image into some area of the graph, and this will
even allow for scaling, but this will work best if imported into the
frame as the graph cheats with the plot area and doesn't really draw
that image each time.
Greg McKaskle
Maybe you are looking for
-
Can 2 ipods be used on one computer? (different users-2 accounts on one computer)
We have one computer, 2 ipods (one classic, one nano), 2 itunes accounts. Is it possible for 2 users to use the same computer with different ipods and different itunes accounts. We are having problems accomplishing this.
-
How to download recordings from HD LCD TV to iMac G5?
anyone know how to download recordings from a HD on a LG LCD TV to an apple computer? thx. iMac G5 Mac OS X (10.4.9)
-
Here is log ===================================================== 18-AUG 11:06:25 : ======================================== 18-AUG 11:06:25 : Error in PROCEDURE=LOAD_SETUP_TRANSITION, TABLE=MSC_SETUP_TRANSITIONS 18-AUG 11:06:27 : COLUMN=ORGANIZATION
-
Set calls to automaticaly go back in a ready state when not answered
What I would like to do is when a call is not answered and it is dropped into a not ready state so it can be presented to the next Agent is have that agent that was put in a NOt Ready State come right back to a ready state. That way the Person does n
-
Crystal Report export to PDF cause high Heap usage ?
Hi all, As part of our reporting integrated with our JSF/JSP application, Crystal report is converted to PDF then sent to browser for user to display. mean while during peak load our Heap usage could reach 3.5GB - 4GB. So I am suspecting the unclosed