Numbers on JButtons and set JButtons to Opaque

Hi everyone:
please check for me why numbers(like 1 to 35) don't appears on JButtons, and why I setOpaque(true) to JButtons, it doesn't work. Thanks
// why I can not see the numbers (1 to 35) in JButtons ????????????
// and how can I operate setOpaque(true) to JButtons.
import javax.swing.*;
import java.awt.*;
import java.awt.GridLayout;
public class DrawCalendar extends JPanel{
     private static DrawCalendar dC;
     private static JButton jB1,jB2,jB3;
     private static Dimension dMS;
     private static GridLayout gL;
     private static Container c;
     // why I can not see the numbers (1 to 35) in JButtons ????????????
     public DrawCalendar(){
          JButton j= new JButton("1");
     gL=new GridLayout(5,7,4,4);
          setLayout(gL);
add(j);
add(new JButton("2"));
add(new JButton("3"));
add(new JButton("4"));
add(new JButton("5"));
add(new JButton("6"));
add(new JButton("7"));
add(new JButton("8"));
add(new JButton("9"));
add(new JButton("10"));
add(new JButton("11"));
add(new JButton("12"));
add(new JButton("12"));
add(new JButton("14"));
add(new JButton("15"));
add(new JButton("16"));
add(new JButton("17"));
add(new JButton("18"));
add(new JButton("19"));
add(new JButton("20"));
add(new JButton("21"));
add(new JButton("22"));
add(new JButton("23"));
add(new JButton("24"));
add(new JButton("25"));
add(new JButton("26"));
add(new JButton("27"));
add(new JButton("28"));
add(new JButton("29"));
add(new JButton("30"));
add(new JButton("31"));
add(new JButton("32"));
add(new JButton("33"));
add(new JButton("34"));
add(new JButton("35"));
import java.awt.*;
import java.awt.Color;
import javax.swing.*;
import javax.swing.JButton;
import javax.swing.JMenuBar;
public class TestMain extends JFrame{
private static JButton b1, b2, b3;
private static TestMain tM;
     private static JPanel jP;
private static Container c;
private static DrawCalendar dC;
     public static void main(String[] args){
     tM = new TestMain();
     addItems();
     tM.setVisible(true);
     public TestMain(){
     super(" Test");
     dC=new DrawCalendar();
     setSize(600,600);
//set up layoutManager
c=getContentPane();
c.setLayout ( new GraphPaperLayout(new Dimension (8,20)));
//set up three Button and one JPanel
b1=new JButton("1");
b1.setOpaque(true);
b2=new JButton("2");
b2.setOpaque(true);
b3=new JButton("3");
b3.setOpaque(true);
//add the munuBar, the Jpanel and three JButtons
public static void addItems(){
     c.add(b1, new Rectangle(5,0,1,1));
     c.add(b2, new Rectangle(6,0,1,1));
c.add(b3, new Rectangle(7,0,1,1));
     c.add(dC, new Rectangle(5,1,3,5));
import java.awt.*;
import java.util.Hashtable;
import java.io.*;
* The <code>GraphPaperLayout</code> class is a layout manager that
* lays out a container's components in a rectangular grid, similar
* to GridLayout. Unlike GridLayout, however, components can take
* up multiple rows and/or columns. The layout manager acts as a
* sheet of graph paper. When a component is added to the layout
* manager, the location and relative size of the component are
* simply supplied by the constraints as a Rectangle.
* <p><code><pre>
* import java.awt.*;
* import java.applet.Applet;
* public class ButtonGrid extends Applet {
* public void init() {
* setLayout(new GraphPaperLayout(new Dimension(5,5)));
* // Add a 1x1 Rect at (0,0)
* add(new Button("1"), new Rectangle(0,0,1,1));
* // Add a 2x1 Rect at (2,0)
* add(new Button("2"), new Rectangle(2,0,2,1));
* // Add a 1x2 Rect at (1,1)
* add(new Button("3"), new Rectangle(1,1,1,2));
* // Add a 2x2 Rect at (3,2)
* add(new Button("4"), new Rectangle(3,2,2,2));
* // Add a 1x1 Rect at (0,4)
* add(new Button("5"), new Rectangle(0,4,1,1));
* // Add a 1x2 Rect at (2,3)
* add(new Button("6"), new Rectangle(2,3,1,2));
* </pre></code>
* @author Michael Martak
* Updated by Judy Bowen, September 2002 to allow serialization
public class GraphPaperLayout implements LayoutManager2, Serializable{
int hgap; //horizontal gap
int vgap; //vertical gap
Dimension gridSize; //grid size in logical units (n x m)
Hashtable compTable; //constraints (Rectangles)
* Creates a graph paper layout with a default of a 1 x 1 graph, with no
* vertical or horizontal padding.
public GraphPaperLayout() {
this(new Dimension(1,1));
* Creates a graph paper layout with the given grid size, with no vertical
* or horizontal padding.
public GraphPaperLayout(Dimension gridSize) {
this(gridSize, 0, 0);
* Creates a graph paper layout with the given grid size and padding.
* @param gridSize size of the graph paper in logical units (n x m)
* @param hgap horizontal padding
* @param vgap vertical padding
public GraphPaperLayout(Dimension gridSize, int hgap, int vgap) {
if ((gridSize.width <= 0) || (gridSize.height <= 0)) {
throw new IllegalArgumentException(
"dimensions must be greater than zero");
this.gridSize = new Dimension(gridSize);
this.hgap = hgap;
this.vgap = vgap;
compTable = new Hashtable();
* @return the size of the graph paper in logical units (n x m)
public Dimension getGridSize() {
return new Dimension( gridSize );
* Set the size of the graph paper in logical units (n x m)
public void setGridSize( Dimension d ) {
setGridSize( d.width, d.height );
* Set the size of the graph paper in logical units (n x m)
public void setGridSize( int width, int height ) {
gridSize = new Dimension( width, height );
public void setConstraints(Component comp, Rectangle constraints) {
compTable.put(comp, new Rectangle(constraints));
* Adds the specified component with the specified name to
* the layout. This does nothing in GraphPaperLayout, since constraints
* are required.
public void addLayoutComponent(String name, Component comp) {
* Removes the specified component from the layout.
* @param comp the component to be removed
public void removeLayoutComponent(Component comp) {
compTable.remove(comp);
* Calculates the preferred size dimensions for the specified
* panel given the components in the specified parent container.
* @param parent the component to be laid out
* @see #minimumLayoutSize
public Dimension preferredLayoutSize(Container parent) {
return getLayoutSize(parent, true);
* Calculates the minimum size dimensions for the specified
* panel given the components in the specified parent container.
* @param parent the component to be laid out
* @see #preferredLayoutSize
public Dimension minimumLayoutSize(Container parent) {
return getLayoutSize(parent, false);
* Algorithm for calculating layout size (minimum or preferred).
* <p>
* The width of a graph paper layout is the largest cell width
* (calculated in <code>getLargestCellSize()</code> times the number of
* columns, plus the horizontal padding times the number of columns
* plus one, plus the left and right insets of the target container.
* <p>
* The height of a graph paper layout is the largest cell height
* (calculated in <code>getLargestCellSize()</code> times the number of
* rows, plus the vertical padding times the number of rows
* plus one, plus the top and bottom insets of the target container.
* @param parent the container in which to do the layout.
* @param isPreferred true for calculating preferred size, false for
* calculating minimum size.
* @return the dimensions to lay out the subcomponents of the specified
* container.
* @see java.awt.GraphPaperLayout#getLargestCellSize
protected Dimension getLayoutSize(Container parent, boolean isPreferred) {
Dimension largestSize = getLargestCellSize(parent, isPreferred);
Insets insets = parent.getInsets();
largestSize.width = ( largestSize.width * gridSize.width ) +
( hgap * ( gridSize.width + 1 ) ) + insets.left + insets.right;
largestSize.height = ( largestSize.height * gridSize.height ) +
( vgap * ( gridSize.height + 1 ) ) + insets.top + insets.bottom;
return largestSize;
* Algorithm for calculating the largest minimum or preferred cell size.
* <p>
* Largest cell size is calculated by getting the applicable size of each
* component and keeping the maximum value, dividing the component's width
* by the number of columns it is specified to occupy and dividing the
* component's height by the number of rows it is specified to occupy.
* @param parent the container in which to do the layout.
* @param isPreferred true for calculating preferred size, false for
* calculating minimum size.
* @return the largest cell size required.
protected Dimension getLargestCellSize(Container parent,
boolean isPreferred) {
int ncomponents = parent.getComponentCount();
Dimension maxCellSize = new Dimension(0,0);
for ( int i = 0; i < ncomponents; i++ ) {
Component c = parent.getComponent(i);
Rectangle rect = (Rectangle)compTable.get(c);
if ( c != null && rect != null ) {
Dimension componentSize;
if ( isPreferred ) {
componentSize = c.getPreferredSize();
} else {
componentSize = c.getMinimumSize();
// Note: rect dimensions are already asserted to be > 0 when the
// component is added with constraints
maxCellSize.width = Math.max(maxCellSize.width,
componentSize.width / rect.width);
maxCellSize.height = Math.max(maxCellSize.height,
componentSize.height / rect.height);
return maxCellSize;
* Lays out the container in the specified container.
* @param parent the component which needs to be laid out
public void layoutContainer(Container parent) {
synchronized (parent.getTreeLock()) {
Insets insets = parent.getInsets();
int ncomponents = parent.getComponentCount();
if (ncomponents == 0) {
return;
// Total parent dimensions
Dimension size = parent.getSize();
int totalW = size.width - (insets.left + insets.right);
int totalH = size.height - (insets.top + insets.bottom);
// Cell dimensions, including padding
int totalCellW = totalW / gridSize.width;
int totalCellH = totalH / gridSize.height;
// Cell dimensions, without padding
int cellW = (totalW - ( (gridSize.width + 1) * hgap) )
/ gridSize.width;
int cellH = (totalH - ( (gridSize.height + 1) * vgap) )
/ gridSize.height;
for ( int i = 0; i < ncomponents; i++ ) {
Component c = parent.getComponent(i);
Rectangle rect = (Rectangle)compTable.get(c);
if ( rect != null ) {
int x = insets.left + ( totalCellW * rect.x ) + hgap;
int y = insets.top + ( totalCellH * rect.y ) + vgap;
int w = ( cellW * rect.width ) - hgap;
int h = ( cellH * rect.height ) - vgap;
c.setBounds(x, y, w, h);
// LayoutManager2 /////////////////////////////////////////////////////////
* Adds the specified component to the layout, using the specified
* constraint object.
* @param comp the component to be added
* @param constraints where/how the component is added to the layout.
public void addLayoutComponent(Component comp, Object constraints) {
if (constraints instanceof Rectangle) {
Rectangle rect = (Rectangle)constraints;
if ( rect.width <= 0 || rect.height <= 0 ) {
throw new IllegalArgumentException(
"cannot add to layout: rectangle must have positive width and height");
if ( rect.x < 0 || rect.y < 0 ) {
throw new IllegalArgumentException(
"cannot add to layout: rectangle x and y must be >= 0");
setConstraints(comp, rect);
} else if (constraints != null) {
throw new IllegalArgumentException(
"cannot add to layout: constraint must be a Rectangle");
* Returns the maximum size of this component.
* @see java.awt.Component#getMinimumSize()
* @see java.awt.Component#getPreferredSize()
* @see LayoutManager
public Dimension maximumLayoutSize(Container target) {
return new Dimension(Integer.MAX_VALUE, Integer.MAX_VALUE);
* Returns the alignment along the x axis. This specifies how
* the component would like to be aligned relative to other
* components. The value should be a number between 0 and 1
* where 0 represents alignment along the origin, 1 is aligned
* the furthest away from the origin, 0.5 is centered, etc.
public float getLayoutAlignmentX(Container target) {
return 0.5f;
* Returns the alignment along the y axis. This specifies how
* the component would like to be aligned relative to other
* components. The value should be a number between 0 and 1
* where 0 represents alignment along the origin, 1 is aligned
* the furthest away from the origin, 0.5 is centered, etc.
public float getLayoutAlignmentY(Container target) {
return 0.5f;
* Invalidates the layout, indicating that if the layout manager
* has cached information it should be discarded.
public void invalidateLayout(Container target) {
// Do nothing

Hello,
I think you have really a problem with this layout.
Please first check the standard [url http://java.sun.com/docs/books/tutorial/uiswing/layout/using.html]LayoutManager.
JButtons are opaque usually and they will be shown if you use another LayoutManager:import java.awt.*;
import javax.swing.*;
class DrawCalendar extends JPanel
     private static DrawCalendar dC;
     private static JButton jB1, jB2, jB3;
     private static Dimension dMS;
     private static GridLayout gL;
     private static Container c;
     // why I can not see the numbers (1 to 35) in JButtons ????????????
     public DrawCalendar()
          JButton j = new JButton("1");
          gL = new GridLayout(5, 7, 4, 4);
          setLayout(gL);
          add(j);
          add(new JButton("2"));
          add(new JButton("3"));
          add(new JButton("4"));
          add(new JButton("5"));
          add(new JButton("6"));
          add(new JButton("7"));
          add(new JButton("8"));
          add(new JButton("9"));
          add(new JButton("10"));
          add(new JButton("11"));
          add(new JButton("12"));
          add(new JButton("12"));
          add(new JButton("14"));
          add(new JButton("15"));
          add(new JButton("16"));
          add(new JButton("17"));
          add(new JButton("18"));
          add(new JButton("19"));
          add(new JButton("20"));
          add(new JButton("21"));
          add(new JButton("22"));
          add(new JButton("23"));
          add(new JButton("24"));
          add(new JButton("25"));
          add(new JButton("26"));
          add(new JButton("27"));
          add(new JButton("28"));
          add(new JButton("29"));
          add(new JButton("30"));
          add(new JButton("31"));
          add(new JButton("32"));
          add(new JButton("33"));
          add(new JButton("34"));
          add(new JButton("35"));
public class TestMain extends JFrame
     private static JButton b1, b2, b3;
     private static TestMain tM;
     private static JPanel jP;
     private static Container c;
     private static DrawCalendar dC;
     public static void main(String[] args)
          tM = new TestMain();
          addItems();
          tM.setVisible(true);
     public TestMain()
          super(" Test");
          dC = new DrawCalendar();
          setSize(600, 600);
          //set up layoutManager
          c = getContentPane();
          c.setLayout(new FlowLayout());
          //set up three Button and one JPanel
          b1 = new JButton("1");
          b1.setOpaque(true);
          b2 = new JButton("2");
          b2.setOpaque(true);
          b3 = new JButton("3");
          b3.setOpaque(true);
     //add the munuBar, the Jpanel and three JButtons
     public static void addItems()
          c.add(b1);
          c.add(b2);
          c.add(b3);
          c.add(dC);
}regards
Tim

Similar Messages

  • Can someone help me change the line width of my numbers table, its not set to thin or none and its stuck on .25. its a spreadsheet i imported from excel.

    Can someone help me change the line width of my numbers table, its not set to thin or none and its stuck on pt25. its a spreadsheet i imported from excel.

    MR,
    Apparently the import wasn't a good one.
    The best option at this point might be to start a new table. Insert a new Table, Copy the old table cell range, select the first cell in the new table and Edit > Paste and Match Style. This will throw out all the old formatting. A bit of work, but a nice clean start.
    Jerry

  • How to set different font for numbers in headings and TOCs

    Hi,
    I've noticed some people use a different font for numbers in headings and TOCs to get some extra magic. Is there any way to automate such use of fonts in the paragraph styles?
    Oh, and any suggestions on what fonts would be good for numbers?
    Thanks!

    I was merely continuing on the original theme -- any digit in any character style. It was only later revealed that (a) the OP needed old style figures, and (b) those were available in his font from the start.
    The negative lookahead is the answer to his question (copied in full now)
    Based on the above InDesignSecrets tutorial, does anyone know what to do if some of the numbers end with a dot or a comma?
    Like the Norwegian date format: 13. mai 2009
    Or the Norwegian way of pricing items: 2900,-
    and my example shows it can be done, but with an added caveat. If digits are to be set in red, using the exceptions the OP asks for, my example sentence will come out as
    "Think of a number between 1 to 10, but don't use 9."
    rather than the (here) intended
    "Think of a number between 1 to 10, but don't use 9."

  • My husband and I share an iTunes account. We both just got iPads. How can we program them to have different phone numbers for FaceTime and messages

    My husband and I share an iTunes account. We both just got iPads. How can we program them to have different phone numbers for FaceTime and messages

    Use different email address (gmail?) just for FaceTime and Messages.
    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    For non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
     Cheers, Tom

  • HT5824 I've been using numbers for iPad and I accidentally deleted a column. And the auto-save feature saved that and now I can't undo it. Does iCloud storage have backups of saved files from like 10 minutes ago? I have number

    I've been using numbers for iPad and I accidentally deleted a column. And the auto-save feature saved that and now I can't undo it. Does iCloud storage have backups of saved files from like 10 minutes ago? I have numbers synced to iCloud.
    I tried to undo it but the app crashed.
    I am hoping there's like a previously saved version of my file in iCloud somewhere. 

    No, iOS does not do short term incremental back ups to iCloud such as you get with Time Capsule.It backs up when you do soo manually, or if set properly, when the device is plugged in and connected to WiFi. It will not have saved your changes as of 10 minutes prior.

  • Airport Express (Model with 802.11G +54MBPS Mac/PC and Set Up Issues

    Hi,
    We have a 4 Mac and 1 PC Household. Cable Internet Service by Roadrunner.Cable model (owned) connected to a D-Link 802.11G wi fi router (by ethernet from cable modem)in the family room , then out to a Imac (the half moon base and LCD screen with a airport card also in the family room and the closet computer to the D-Link
    router, (we did add a D-Link antenna to the router ? about 10 months ago (a D-Link ANT24-0700 (Version 1.2)and a HP 4 in 1 printer attached via USB to the Imac
    ,a eMac 1.25 ghz 1Gb ram with airpot card also connected wirelessly (no printer attached on the same floor but in a ajoinging room about 20 feet from the Router, and another eMac 1.0 Ghz 1Gb ram with airport card in the upstairs part of our house (a bedroom) and no issue with Internet connection (it has a Epson 3in 1 printer attached via USB, and a MacBook Pro with 802.11N wireless card in side , bought for a Christmas/Birthday Present and also for college.It to has no issues with the Internet where ever it may be in the house. Our sole PC a HP tower with a added D-Link WDA -2320 Range Booster Desktop Adapter (802.11G) and we added a D-Link Antenna same model as the other a ANT24-0700 to help with Internet access which it did as well as adding some ram to increase page loading time etc. It does not have a printer attached. I will get to the Topic Area now
    The Airport Express. I was not involved in the set-up as I was laid up due to a bad back and post major knee surgery , But I always (especially recently) wondered why the light was amber and blinking. I read through the manual and also
    Apple.com support and MacFixit.com (which is under construction and moved to part of Cnet.com)and then went to the Airport Express Discussion area (sorry for being so wordy) I need a Twitter account to post!) We have a network name for the D-Link and the computers all were added and it also supports a Xbox 360, a Sony PlayStation 3 and a Nintendo Wi (in online use without issue) but..
    A network was also as it appears to myself) for the Airport Express and under the half moon bars showing connection strenght (there is our D-Link network "phoenix" with security protection WPA2 I believe) as I have set up the router, We had a Apple Base station prior that was ? 802.11B (a half moon white unit) still have it in the box ) So for normal daily use, checking e-mail and internet use all of the computers use the "phoenix" or D-Link supported Router 802.11G
    and The other network calld Apple Network with numbers and letters after it (and hopefully security) password is unknown , The Airport Express is set up connected via USB to a HP B&W laser printer which has saved quite a bit of money on ink, To utilize that printer you must switch from "phoenix" The D-Link router network to the Apple Network (followed by letters and numbers) The Imac and the eMac in the family room and a ajoing room (after switching to the Apple Network
    can than print to the lasr printer. The eMac upstairs and the HP Windows XP Professional software can not print to the laser printer (yet the HP PC shows it as a individual network and a strong signal, equal to the Internet connection from the D-Link, and the eMac (after switching under the half moon (not the proper name I am sure) to get to the Apple Network to print , it will not print, yet it shows a 5 bar signal, same as the D-Link connection. I do believe we have two seperate networks (but do not understand why the two Mac's in the family room can print to the laser printer by simply switching networks and then file and print. ** One other 9probaly major item is that it states to set up the Airport Express with a Mac With OSX 10.4 or later (at the time of set up, we had the Imac and two eMac's all running Panther OSX 10.3.9 9which they continue to have installed) We obtained the HP Tower and Monitor and HP 4in 1 printer ust before Christmas in 2008 and the MacBook Pro in Mid December 2009 (current model and running Snow Leopard 10.6. The HP Tower runs Windows Xp Professional (Service Pack 3) so the MacBook Pro which is much more mobile , could be used to do the set-up, or the HP Tower coulf be moved temprarily, I do recall if Router changes (at least with The D-Link You need to be connected by Ethernet to the Mac
    that would be doing the set up/configuration of the router (and it runs OSX 10.3.9 and is a older Mac (with 80Gb Hard drive that is partioned for OS9 and OSX as well , it is under a Ghz processor wise and less than 1 Gb of ram as the last ram slot required a seal to be broken and 256mb of ram (?) could be added
    it has 768 mb of ram but knock on wood running well. We use Lacie external drives
    on the Imac and both eMac's and need to get external drives for the HP PC as well as the Mac Book Pro (15" screen)
    I apoogize if I repeated myself, and rambled but I wanted to (in one post) to explain our set up and network configuration
    Questions
    1) if indeed it is that the two networks is true and a set yp that is not correct
    can the Airport Express be configured without opening up the router (when ever that happens it seems one computer is unable to get online and each time its a differnt one a Mac or veen the PC
    The PC under My Computer and Networks clearly shows the wto distinct and seperate netwoks with strong signals and the distance is not far (it is through a floor as the other emac and the PC are upstairs and cabling by ethernet is not a option
    2) If I need to open the router would I add the Airport Express as a client as if it was one of the computers or gaming systems on the network? (adding the Mac adress or IP address (not sure how you find the Mac address) and its been while since the router was opened up for any additions or work on it.
    3) would it be on the same channel as the router or not ?
    4) Hopefully with proper configuration the light will stay on (and green) on the A/E and the eMac and HP PC will be able to print to the laser printer. Currentlt
    when anything needs printed from the PC its put on a Flasg Drive and plugged in tothe Imac and the the Apple Network is selected and data printed, The eMac upstairs has the option of using the attached Epson 3 in one or doing the Flash stick work around.
    I would be verya appreciative if some one took a look at the set up above and advised me of what is right, what is not right* and what to do to fix things up
    I would imagine after proper set up, delete the Apple Network from the PC and eMac upstairs and ? all of the computers as we should have one base station (the D-link and the spoke (the A/E connected by UBS to the A/E (it may be ethernet but the cable connection from the A/E to the HP laser printer is correct (the rest of the A/E set up ... Please , tell me where it is and where it should be
    and ? any idea why we can print to the laser printer down stairs and not up stairs ? it did mention printer set up with Panther as possible, page 43 of themanual we have un chaper 5 Tips and Troubleshooting (under whn your printer isn't responding) (we do not have the interfereance listed in the manual,
    our phones are land line, one 900 mghz and the others 5.8 ghz
    It is possible to move the A/E and laser printer if that would help the two computers (desktops) upstairs) bt the distance is way less than 150 but their is a floor and ? duct work (metal ) but I think here is a place to stop typing and let some of the experts on the discussion forums take a look.
    one lst note (as the lap top will be going off to college in the fall (runnning Snow Leopard, and the other 3 Mac's run Panther OSX 10.3.9 should the HP PC windows Xp Professional be the computer to set up the air port express and the Airport Utility proram installed & would this conflict with the current Router (set up by a Macc running OSX 10.3.9 (Panther) i.e (should both set ups be on the same computer?) but actually aThe D-Link is OSX10.3.9 compatible (and 802.11G) and set up requires ethernet connection to a Mac (You type in the numbers and . etc and password as administror and you are in, or should the admin be on the same cpmpuer for the router and A/E ?
    (and considering a Airport Extreme Base Station as well as dual frequency simulataneus and 802.11N (for the laptop now) and future, or wait. The 802.11
    in theory would broadcast farther..?? even if computers had 802.11b(our Mac Desk tops and the PC 802.11B card
    Thanks Again!!!
    Many, Many Thanks
    amnienttales

    William Boyd Jr.
    Hello again,
    D-Link Router is model DGL-4300 (along with a D-Link ANT24-0700 Omnidirectional
    7dbi Antenna . Our Cable Internet ISP (Roadrunner) provides consumers with dynamic ISP address's . All Mac's have Airport Cards and The Hp Tower XW4550 has a D-Link Rangebooster G Desktop Adapter WDA-2320 (also with a D-Link ANT24-0700 Omnidirectional 7 dbi Antenna (the PC OS is Win XP Pro Service Pack 3) The 3 desktop Mac's run OSX Panther 10.3.9 , The 15" MacBook Pro OS is OSX 10.6 Snow
    Leopard (not sure what is after the .6 (right now) D-Link's website is
    http://www.dlink.com , I have configured this router multiple times in the past.
    also added as clients on the network (Utilizing the D-Link Router) are a X-Box 360, Sony Play Station PS3, and a Nintendo Wii all of which have on line ability
    and enables online video game play with any one online.
    As mentioned prior the Airport Port Express is Model A1084 Part No. M9447OLL/A
    which is USB conected to a HP LaseJet B&W , model 1020 and some how the two computers near it can switch to the Airport Express Network from the D-Link Router based Network and print wirelessly to the A/E connected LaserJetPrinter
    I realize I will need to reconfigure the D-Link Router and add the A/E as a client. I will try first to use the Airport Utility and see if I can do anything
    Utilizing it (adding it to the D-Link network, I think its unlikely but worth a try but* the password is unknown but I have a few guess's as to what it may be.
    I do have the necessary admin and network paswwords to cconfigure the D-Link Router,
    1) * If the the A/E Utility experiment fails and I need to re-configure the router * do I need to (as per the Airport Express Set Up Guide (Use a Mac with OSX 10.4 or later or a PC with Win Xp Home or Professional (have a desk top PC that has the specs) and The Mac Book Pro meets the Mac Spec's)
    If I can not get a password to work on the A/E I would reset it using the reset button
    And before plugging in the A/E , connect the appropraite cables in our case a USB cable to the LaserJet Printer then plug in the A/E
    2) I would then connect by Ethernet from Either the Mac Laptop or The PC to the D-Link router (if not the router will not set-up correctly)
    3) The one question that puzzles me is that we are not using the A/E as a base
    but a client
    in two sections(Using Airport Express , connecting a Printer via USB
    and use Airprt Utility to create a new network or join a new newWireless computers using Mac OSX 10.2.7 (Tiger) or later or a PC with Windows XP and it then goes in to the steps of ising the printer for both a Mac and a PC (using Bonjour on the CD that came with the A/E (this appears to contradict needing to use Mac OSx 10.4 or a PC with Win Xp set the A/E up for use as a printer
    (joiing a new network or existig one)
    And in Chapter 5 Tips and Roubleshooting= Your Airport Express Status Light Flashes amber & Your Printer is not responding (it is flashing amber and the printer does not respond to the two computers upsstairs (one Mac running OSX 10.3.9 & One PC running WinXp and its states to make sure the printer is selected
    in the Printer list o client computers, to do this on a Mac using OSX 10.3 or later , open Printer Set Up Utility and follow steps and if a PC with Windows XP , Open Printers and faxes and then follow steps
    in Closing ? can I configure the A/E Utility with a Mac using 10.3.9 as above or
    ? Per Chapter 1 Getting Started use a Mac with OSX 10.4 or later or a PC with Windows Xp Home or Professional
    Perhaps I am taking the tips and trouble shooting and Printer Set up out of context or does the getting Started Computer specs contradict them or are they
    for use if the A/E was going to be a Base Station and not a client..
    Will keep at it,
    ambienttales

  • The programs open tab ( list of programs open on comp) is always popping up on middle of screen whenever I go near the mouse.  HELP!!!  Have turned it off recently and moved it, a mac mini, now on new plug in and set up it now does it.

    The programs open tab ( list of programs open on comp) is always popping up on middle of screen whenever I go near the mouse.  HELP!!!  Have turned it off recently and moved it, a mac mini, now on new plug in and set up it now does it.
    Yes I have turned it off and restarted it, ubnplugged mouse and plugged it back  in.
    Have not updated it in a little bit
    running mavericks, which I dislike.10.9.1
    This is a new problem,
    Why where and what do I need to do to fix it? Please.
    Thanks for your help community, You guys are awesome, better than the guys n girls at Apple!!
    I have also noticed the drop down menu arrow on Numbers Tabs has dissappeared since move.
    you know the invisible arrow that appears in the additional tabs pages in "Numbers program"
    Especially an inconvenient for previous Numbers users as you all know.
    any word on New Numbers Tutes at all??
    You'd think with a Billion dollars they could make a 10 min clip saying here are changes guys, go enjoy new layout.....  Just saying...  not.
    anyway Hi and any help out there tonight is GREATLY APPRECIATED.
    Cheers Jason.

    If the reset doesn't work:
    FORCE IPAD INTO RECOVERY MODE
    1. Turn off iPad
    2. Turn on computer and launch iTune (make sure you have the latest version of iTune)
    3. Plug USB cable into computer's USB port
    4. Hold Home button down and plug the other end of cable into docking port. Do not release button until you see picture of iTune and plug (very important)
    5. Release Home button.
    ON COMPUTER
    6. iTune has detected iPad in recovery mode. You must restore this iPad before it can be used with iTune.
    7. Select "Restore iPad"...
    Note: Data will be lost

  • On Weblogic7, how do I create an InitialContext to a Weblogic6 server and set SECURITY_CREDENTIALS?

    On a Weblogic7 server I am trying to
    create an InitialContext to a Weblogic6
    server and set the SECURITY_CREDENTIALS.
    The code is something like this:
    Hashtable p = new Hashtable();
    p.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    p.put(Context.PROVIDER_URL, url);
    p.put(Context.SECURITY_PRINCIPAL, usr);
    p.put(Context.SECURITY_CREDENTIALS, pwd);
    InitialContext ctx = new InitialContext(p);
    But when this code runs, I get a class cast
    exception on class:
    weblogic.security.acl.DefaultUserInfoImpl
    How can I stop this?

    Yes I wrote AspectRatioSelection to take the document orientation into consideration an use the ratio you set orientated to the documents orientation.  So an action to crop Landscape and Portraits for a 4X6 paper would be easy to record. You will notice the dialog has two numbers fields not a Width and Height fields no orientation is implied. Its companion LongSidePrintLength.jsx the let you set the correct print dpi after the aspect ratio crop.
    I did create a plug-in where you could specify an absolute aspect ratio that also had an orient option to work like AspectRatioSelection.  So with that plug-in you would able to crop a landscape to a portrait and portrait to landscape. Hover the image composition changes so much when you do often you can't get an acceptable composition.  The dialog also became hard  to describe well for me.  I program better then I do English.  The orient check box made width and height meaningless and the aspect ratio not absolute and wasn't easly explained. This is what it look like.
    znarkus wrote:
    Thanks for these scripts!
    I noticed an (for me) issue with AspectRatioSelection though: even though I set aspect ratio to 6:4 it decides to crop some images 4:6.
    It works with images that are portrait, but those that are more square are cropped in 4:6.
    I don't follow your more square thing.  If you have two documents one 4x6 and the other 6x4 which is more square?
    The way it works biased on you documents orientation. If your document is wider then tall it landscape if it taller the wide it a Portrait. If It square the plugin defaults it to Landscape.
    So it makes no difference if you set 4 and 6 or 6 and 4 or 3 and 2 or 2 and 3 
    Landscape and square document will see landscape selection with a or 3:2 aspect ratio selection or path the is either rectangle or oval
    Portraits documents will see a Portrait selection with a 2:3 aspect ratio selection or path the is either rectangle or oval
    Message was edited by: JJMack

  • Getting every odd-numbered row from result set

    select *
    from mytable
    where MOD(rownum,2) = 1;
    Why does this not give me every odd-numbered row from result set? It returns just 1 row....
    Thank u

    When you say MOD(ROWNUM,2)=1 it will list only the first row with rowid which is devisible by 2 and gives a reminder 1.
    Just tweak your query with a GROUP BY:
    SQL> select rownum from your_table group by rownum having mod(rownum,2) =1;
        ROWNUM
             1
             3
             5
             7
             9
            11
            13
            15
            17
            19
            21
        ROWNUM
            23
            25
            27
            29
            31
            33
            35
            37
            39
            41
            43
    etc...
    [pre]
    Jithendra                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Where can we find the part numbers for Multisim and Ultiboard professional versi

    I want to purchase Multisim an Ultiboard, professional version. We got a quotation with the following answer:
    Part number: 852798-11J  Upgrade, NI Academic site licence;Q3 2009 Department Teaching Circuit Design Software Option
    Part Number:900798_11    NI academic Site Licence-Department Teaching Maintenance for Circuits Option Includes automatic SW upgrades for 1 year
    I have no idea where I can find those part numbers on the NI web site and for me the qouotation reffers to the academic version not the professional.
    Can anybody from NI clarify the mystery.
    John 

    Johnnelu,
    Thanks for your reply.   If you received a quotation, please email me directly with the quotation number and I will have someone update this for you.  I am not sure why you would have received a quote on the educational version in place of the Professional version.
    Specifically answering your PN questions... here are the current P/Ns for the Professional Design Suites (Multisim and Ultiboard). 
    NI Circuit Design Suite, Base ->          779930-09
    NI Circuit Design Suite, Full ->            779928-09
    NI Circuit Design Suite, PowerPro ->  779927-09
    http://www.ni.com/multisim/professional.htm  
    You can get price information online - you will need to select the specific item on the left and
    set your country code on the top.
    Regards,
    Patrick Noonan
    Business Development Manager
    National Instruments - Electronics Workbench Group
    50 Market St 1-A
    South Portland, ME 04106
    Phone: 207 892-9130
    Email: [email protected] 

  • I have an iphone4 and my husband merge his numbers with mine and i think it was deleted can you tell me how can he get his number back on his phone

    have an iphone4 and my husband merge his numbers with mine and i think it was deleted can you tell me how can he get his number back on his phone

    Do you possibly mean the contacts have been merged?
    If so, where are each of you syncing contacts?  A supported application on the computer? iCloud or another cloud service? An Exchange server?
    WIthout details, it's difficult to offer specific resolutions.

  • My problem is very simple......firefox wont allow me save my downloads to any other location than my c drive....for example i have gone into options and set sav

    ''locking this thread as duplicate, please continue at [https://support.mozilla.org/en-US/questions/986549 /questions/986549]''
    my problem is very simple......firefox wont allow me save my downloads to any other location than my c drive....for example i have gone into options and set save downloads to my e drive....but still firefox keeps saving them to my c drive....i have 4 internal hard drives in my rig....and have tried saving downloads to them all.......why this is happening i cant understand....i have tried lots of suggestions....and have re-installed firefox multiple times

    hello, there's a general regression in firefox 27 that won't allow files to download directly into a root drive. please try to create a subfolder (like ''E:\Downloads'') and set this as default location for downloads...
    also see [https://bugzilla.mozilla.org/show_bug.cgi?id=958899 bug #958899].

  • Difference between BAG and SET

    Difference between BAG and SET....
    SET--->is collection of objects
    |....>contains no order
    |....>allows no duplicate
    BAG---->???????
    Can any one explain this....
    Thank you...

    [http://en.wikipedia.org/wiki/Multiset]

  • HT2729 i have recently purchased a new computer and set up my i tunes account on it. i have synced my ipad but it wont sync the films that are on the ipad already. when i go to add on some new films it tells me i will lose the films that are already on th

    Hi i have recently purchased a new pc and set up my itunes account on it - i have synced my ipad to it but it wont sync the films that are stored on the ipad. when i go to add new ones are it says it will delete the ones on the ipad and replace them with the new ones.How can i keep the films that are already on there and get them into itunes?
    I am unable to delete my itunes account on my old pc due to technical failure - could this be why?
    Hannah

    Sync Your iOS Device with a New Computer Without Losing Data
    http://www.howtogeek.com/104298/sync-your-ios-device-with-a-new-computer-without -losing-data/
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive
    https://discussions.apple.com/docs/DOC-3141
     Cheers, Tom

  • I just got my new i phone 5 s and did all the syncing and backing up for my old iphone 4s and set my 5 up and synced it on itunes  it synced evrything but the contacts and othe minior things were the only things that really transfered  my apps and all my

    I just got my new i phone 5 s and did all the syncing and backing up for my old iphone 4s and set my 5 up and synced it on itunes.  It synced evrything but the contacts and other minor things. those were the only things that really transfered.  My apps and all my music did not. Tthe thing is when i just went to go manually start dowmloading a few of the songs that i knew i already bought , itunes is making me pay forthem again.  Its not saying instal like it usuall does when you go download something aleady purchased on your itunes account.  I think or thought it might have something to do with the fact that i just changed my apple id name right before i got my new phine but my apps all re-downloaded (manually-no syncing) without making me pay for them again.  i dont want to have to purchase allllll my songs again.  Can someone please help me!!  Itried going back to my old id or signing out of this id and signing in as my old apple id but now it wot even get on that oneits likjeit doesnt exist anymore..   And when i plug my old phone it shows in the itunes everything thats supposed to be there but all that doesnt stay in the itunes when i actually un plug it so when i plug my 5 in to my computer none of the stuff is in the store for me to actually transfer it  I am so good with technology and this has me stumped  please help

    No it's not stealing. They have an allowance that you can share with so many computers/devices. You'll have to authorize her computer to play/use anything bought on your acct. You can do this under the Store menu at top when iTunes is open on her computer.
    As far as getting it all on her computer....I think but I am not sure (because I don't use the feature) but I think if you turn on Home Sharing in iTunes it may copy the music to her computer. I don't know maybe it just streams it. If nothing else you can sign into your acct on her computer and download it all to her computer from the cloud. Not sure exactly how to go about that, I haven't had to do that yet. I wonder if once you authorize her computer and then set it up for automatic downloads (under Edit>Preferences>Store) if everything would download. Sorry I'm not much help on that.

Maybe you are looking for

  • How to pop up a new browser window to point to an external site

    Please help. we want to popup an new browser window when click on a button and the new window is pointing to an external web site. I can make it work to point to an external site in the same window. But that is not we want to. I do see some old posti

  • Multi-query group above report creates more pages

    Hi, I have a multi-query group above report (paper only), the parent group creates 5 rows(subframes) all onto the same page, but then creates 4 more IDENTICAL pages!!? at the end I have 5 repating frames and 5 pages. If I set Maximum Records per Page

  • Authentication error weblogic workshop

    Hi , I am trying to debugg my application with weblogic workshop but its giving authentication error. My application is deployed and i can access it . I am using ant . Actually when i click the debug button it statrts the build and after successful t

  • How to setup mail template in CPS ?

    Dear Expert, Now we're using with Redwood CPS version M33.19-48733 with alert function license. We can setup mail alert in our CPS. When any job schedule was failed or cancel. It will send automatic mail alert to us. But it send with normal informati

  • Rfc with trusted systems

    Hello! I configure system landscape via SMSY and I try to generation rfc connection for added system using wizard. My system is Solution Manager 4.0,  client is 001. In future I hope to use solman for SP download approving. What client in trusted sys