473,548 Members | 2,593 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can't find the bug with NullPointerExce ption.......... ......

The program compiled successfully,
but it gives the following error on runtime....

java.lang.NullP ointerException
at FrogManiaApp.pa int(FrogManiaAp p.java:102)
at sun.awt.Repaint Area.paint(Repa intArea.java:17 7)
at
sun.awt.windows .WComponentPeer .handleEvent(WC omponentPeer.ja va:260)
at java.awt.Compon ent.dispatchEve ntImpl(Componen t.java:3678)
at java.awt.Contai ner.dispatchEve ntImpl(Containe r.java:1627)
at java.awt.Compon ent.dispatchEve nt(Component.ja va:3477)
at java.awt.EventQ ueue.dispatchEv ent(EventQueue. java:456)
at
java.awt.EventD ispatchThread.p umpOneEventForH ierarchy(EventD ispatchTh
read.java:201)
at
java.awt.EventD ispatchThread.p umpEventsForHie rarchy(EventDis patchThre
ad.java:151)
at
java.awt.EventD ispatchThread.p umpEvents(Event DispatchThread. java:145)

at
java.awt.EventD ispatchThread.p umpEvents(Event DispatchThread. java:137)

at java.awt.EventD ispatchThread.r un(EventDispatc hThread.java:10 0)
java.lang.NullP ointerException
at FrogManiaApp.pa int(FrogManiaAp p.java:102)
at sun.awt.Repaint Area.paint(Repa intArea.java:17 7)
at
sun.awt.windows .WComponentPeer .handleEvent(WC omponentPeer.ja va:260)
at java.awt.Compon ent.dispatchEve ntImpl(Componen t.java:3678)
at java.awt.Contai ner.dispatchEve ntImpl(Containe r.java:1627)



And the program source is as below.....


import javax.swing.JOp tionPane;
import java.applet.App let;
import java.awt.*;
import java.awt.event. *;

public class FrogManiaApp extends Applet implements MouseListener
{
private static final int IMG_FROG_N=0;
private static final int IMG_FROG_E=1;
private static final int IMG_FROG_S=2;
private static final int IMG_FROG_W=3;
private static final int IMG_DRAGONFLY=4 ;
private static final int IMG_LEAF=5;
private static final int NUM_OF_IMG=6;
private static final long SLEEP_TIME=200;
private static final int STATUS_HEIGHT=2 0;

private Image[] images=new Image[6];
private Point tconvert=new Point();
private String configFile;

private int tnotice;

private FrogMania game;
private Dimension imageSize;
private Point input;
private FrogManiaRunner runner;
private Point highlightPoint;
private Image buffer;
private Graphics bufferG;
private boolean buffered;
private Pond pond;

private Color color;

private MediaTracker tracker;

public void init()
{
tracker=new MediaTracker(th is);
color=new Color(0,0,0);

for(int i=0; i<=5; i++)
{
images[i]=getImage(getCo deBase(),"img"+ i+".gif");
tracker.addImag e(images[i],0);
try
{ tracker.waitFor All(); }
catch (InterruptedExc eption ex)
{ System.out.prin tln("Interrupte d when reading image files. ...><..."); }
}

imageSize=new
Dimension(image s[0].getWidth(this) ,images[0].getHeight(this ));

configFile=getP arameter("confi g");
if (configFile==nu ll)
{ configFile="con fig01.dat"; }

pond=new Pond(getDocumen tBase(),configF ile);
game=new FrogMania(pond, this);

buffered=false;
highlightPoint= null;
addMouseListene r(this);
}

public void update(Graphics g)
{
paint(g);
}

public void paint(Graphics g)
{
if (!buffered)
{
buffer=createIm age(420,370);
bufferG=buffer. getGraphics();
buffered=true;
}

for (int y=0; y<=5; y++)
{
for (int x=0; x<=4; x++)
{
tconvert=new Point(x,y);

if (game.getPond() .getAnimal(tcon vert)==null)
{
bufferG.drawIma ge(images[IMG_LEAF],y*imageSize.wi dth,x*imageSize .height,this);
}
else
if (game.getPond() .getAnimal(tcon vert) instanceof Frog)
{
if
(((Frog)(pond.g etAnimal(tconve rt))).getOrient ation().equals( Direction.NORTH ))
{ tnotice=IMG_FRO G_N; }
if
((((Frog)pond.g etAnimal(tconve rt))).getOrient ation().equals( Direction.SOUTH ))
{ tnotice=IMG_FRO G_S; }
if
((((Frog)pond.g etAnimal(tconve rt))).getOrient ation().equals( Direction.WEST) )
{ tnotice=IMG_FRO G_W; }
if
((((Frog)pond.g etAnimal(tconve rt))).getOrient ation().equals( Direction.EAST) )
{ tnotice=IMG_FRO G_E; }
bufferG.drawIma ge(images[IMG_LEAF],y*imageSize.wi dth,x*imageSize .height,this);

bufferG.drawIma ge(images[tnotice],y*imageSize.wi dth,x*imageSize .height,this);
}
else
if (pond.getAnimal (tconvert) instanceof Dragonfly)
{

bufferG.drawIma ge(images[IMG_LEAF],y*imageSize.wi dth,x*imageSize .height,this);

bufferG.drawIma ge(images[IMG_DRAGONFLY],y*imageSize.wi dth,x*imageSize .height,this);
}
}
}

if (highlightPoint !=null)
{
bufferG.setColo r(Color.red);

bufferG.drawRec t((int)highligh tPoint.getX(),( int)highlightPo int.getY(),imag eSize.width,ima geSize.height);
bufferG.setColo r(Color.black);

bufferG.fillRec t(0,5*imageSize .height,6*image Size.width,5*im ageSize.height+ STATUS_HEIGHT);
bufferG.setColo r(Color.green);
bufferG.drawStr ing("Number of dragonflies:
"+game.getPond( ).numOfDragonfl ies(),(int)(ima geSize.width/3.5),(int)(5*im ageSize.height+ STATUS_HEIGHT/4));
}

g.drawImage(buf fer, 0, 0, this);
}

public void updateDisplay()
{
repaint();
}

public void highlight(Point pt)
{
this.highlightP oint=new Point((int)pt.g etX(),(int)pt.g etY());
try
{ Thread.sleep(SL EEP_TIME); }
catch (InterruptedExc eption ex)
{ }
}

public void start()
{
runner=new FrogManiaRunner (game);
runner.start();
}

public synchronized void stop()
{
game = null;
runner = null;
input = null;
notifyAll();
}

public void gameOver()
{

JOptionPane.sho wMessageDialog( null,"informati on","informatio n",JOptionPane. INFORMATION_MES SAGE);
}

public synchronized Point getInput()
{
try
{ wait(); }
catch (InterruptedExc eption ex)
{ }

return input;
}

public synchronized void mouseClicked(Mo useEvent e)
{
input=e.getPoin t();
notifyAll();
}

public synchronized void mouseExited(Mou seEvent e)
{ }

public synchronized void mousePressed(Mo useEvent e)
{ }

public synchronized void mouseReleased(M ouseEvent e)
{ }

public synchronized void mouseEntered(Mo useEvent e)
{ }
}

Where is it?!?

A billion thx for your responses!!!!
Jul 17 '05 #1
2 3069
It will be more easier if you tell us where's your line 102...
Are you sure that your "getOrientation ()" method is never returning null ?

"Smith" <fo****@hotmail .com> wrote in message
news:41******** **@rain.i-cable.com...
The program compiled successfully,
but it gives the following error on runtime....

java.lang.NullP ointerException
at FrogManiaApp.pa int(FrogManiaAp p.java:102)
at sun.awt.Repaint Area.paint(Repa intArea.java:17 7)
at
sun.awt.windows .WComponentPeer .handleEvent(WC omponentPeer.ja va:260)
at java.awt.Compon ent.dispatchEve ntImpl(Componen t.java:3678)
at java.awt.Contai ner.dispatchEve ntImpl(Containe r.java:1627)
at java.awt.Compon ent.dispatchEve nt(Component.ja va:3477)
at java.awt.EventQ ueue.dispatchEv ent(EventQueue. java:456)
at
java.awt.EventD ispatchThread.p umpOneEventForH ierarchy(EventD ispatchTh
read.java:201)
at
java.awt.EventD ispatchThread.p umpEventsForHie rarchy(EventDis patchThre
ad.java:151)
at
java.awt.EventD ispatchThread.p umpEvents(Event DispatchThread. java:145)

at
java.awt.EventD ispatchThread.p umpEvents(Event DispatchThread. java:137)

at java.awt.EventD ispatchThread.r un(EventDispatc hThread.java:10 0)
java.lang.NullP ointerException
at FrogManiaApp.pa int(FrogManiaAp p.java:102)
at sun.awt.Repaint Area.paint(Repa intArea.java:17 7)
at
sun.awt.windows .WComponentPeer .handleEvent(WC omponentPeer.ja va:260)
at java.awt.Compon ent.dispatchEve ntImpl(Componen t.java:3678)
at java.awt.Contai ner.dispatchEve ntImpl(Containe r.java:1627)



And the program source is as below.....


import javax.swing.JOp tionPane;
import java.applet.App let;
import java.awt.*;
import java.awt.event. *;

public class FrogManiaApp extends Applet implements MouseListener
{
private static final int IMG_FROG_N=0;
private static final int IMG_FROG_E=1;
private static final int IMG_FROG_S=2;
private static final int IMG_FROG_W=3;
private static final int IMG_DRAGONFLY=4 ;
private static final int IMG_LEAF=5;
private static final int NUM_OF_IMG=6;
private static final long SLEEP_TIME=200;
private static final int STATUS_HEIGHT=2 0;

private Image[] images=new Image[6];
private Point tconvert=new Point();
private String configFile;

private int tnotice;

private FrogMania game;
private Dimension imageSize;
private Point input;
private FrogManiaRunner runner;
private Point highlightPoint;
private Image buffer;
private Graphics bufferG;
private boolean buffered;
private Pond pond;

private Color color;

private MediaTracker tracker;

public void init()
{
tracker=new MediaTracker(th is);
color=new Color(0,0,0);

for(int i=0; i<=5; i++)
{
images[i]=getImage(getCo deBase(),"img"+ i+".gif");
tracker.addImag e(images[i],0);
try
{ tracker.waitFor All(); }
catch (InterruptedExc eption ex)
{ System.out.prin tln("Interrupte d when reading image files. ...><..."); }
}

imageSize=new
Dimension(image s[0].getWidth(this) ,images[0].getHeight(this ));

configFile=getP arameter("confi g");
if (configFile==nu ll)
{ configFile="con fig01.dat"; }

pond=new Pond(getDocumen tBase(),configF ile);
game=new FrogMania(pond, this);

buffered=false;
highlightPoint= null;
addMouseListene r(this);
}

public void update(Graphics g)
{
paint(g);
}

public void paint(Graphics g)
{
if (!buffered)
{
buffer=createIm age(420,370);
bufferG=buffer. getGraphics();
buffered=true;
}

for (int y=0; y<=5; y++)
{
for (int x=0; x<=4; x++)
{
tconvert=new Point(x,y);

if (game.getPond() .getAnimal(tcon vert)==null)
{
bufferG.drawIma ge(images[IMG_LEAF],y*imageSize.wi dth,x*imageSize .height,this);
}
else
if (game.getPond() .getAnimal(tcon vert) instanceof Frog)
{
if
(((Frog)(pond.g etAnimal(tconve rt))).getOrient ation().equals( Direction.NORTH ))
{ tnotice=IMG_FRO G_N; }
if
((((Frog)pond.g etAnimal(tconve rt))).getOrient ation().equals( Direction.SOUTH ))
{ tnotice=IMG_FRO G_S; }
if
((((Frog)pond.g etAnimal(tconve rt))).getOrient ation().equals( Direction.WEST) )
{ tnotice=IMG_FRO G_W; }
if
((((Frog)pond.g etAnimal(tconve rt))).getOrient ation().equals( Direction.EAST) )
{ tnotice=IMG_FRO G_E; }
bufferG.drawIma ge(images[IMG_LEAF],y*imageSize.wi dth,x*imageSize .height,this);

bufferG.drawIma ge(images[tnotice],y*imageSize.wi dth,x*imageSize .height,this);
}
else
if (pond.getAnimal (tconvert) instanceof Dragonfly)
{

bufferG.drawIma ge(images[IMG_LEAF],y*imageSize.wi dth,x*imageSize .height,this);

bufferG.drawIma ge(images[IMG_DRAGONFLY],y*imageSize.wi dth,x*imageSize .height,this);
}
}
}

if (highlightPoint !=null)
{
bufferG.setColo r(Color.red);

bufferG.drawRec t((int)highligh tPoint.getX(),( int)highlightPo int.getY(),imag eSize.width,ima geSize.height);
bufferG.setColo r(Color.black);

bufferG.fillRec t(0,5*imageSize .height,6*image Size.width,5*im ageSize.height+ STATUS_HEIGHT);
bufferG.setColo r(Color.green);
bufferG.drawStr ing("Number of dragonflies:
"+game.getPond( ).numOfDragonfl ies(),(int)(ima geSize.width/3.5),(int)(5*im ageSize.height+ STATUS_HEIGHT/4));
}

g.drawImage(buf fer, 0, 0, this);
}

public void updateDisplay()
{
repaint();
}

public void highlight(Point pt)
{
this.highlightP oint=new Point((int)pt.g etX(),(int)pt.g etY());
try
{ Thread.sleep(SL EEP_TIME); }
catch (InterruptedExc eption ex)
{ }
}

public void start()
{
runner=new FrogManiaRunner (game);
runner.start();
}

public synchronized void stop()
{
game = null;
runner = null;
input = null;
notifyAll();
}

public void gameOver()
{

JOptionPane.sho wMessageDialog( null,"informati on","informatio n",JOptionPane. INFORMATION_MES SAGE);
}

public synchronized Point getInput()
{
try
{ wait(); }
catch (InterruptedExc eption ex)
{ }

return input;
}

public synchronized void mouseClicked(Mo useEvent e)
{ input=e.getPoin t();
notifyAll();
}

public synchronized void mouseExited(Mou seEvent e)
{ }

public synchronized void mousePressed(Mo useEvent e)
{ }

public synchronized void mouseReleased(M ouseEvent e)
{ }

public synchronized void mouseEntered(Mo useEvent e)
{ }
}

Where is it?!?

A billion thx for your responses!!!!

Jul 17 '05 #2
Martin Froment wrote:
It will be more easier if you tell us where's your line 102...
Are you sure that your "getOrientation ()" method is never returning null ?

"Smith" <fo****@hotmail .com> wrote in message
news:41******** **@rain.i-cable.com...
The program compiled successfully,
but it gives the following error on runtime....

java.lang.Nul lPointerExcepti on
at FrogManiaApp.pa int(FrogManiaAp p.java:102)
at sun.awt.Repaint Area.paint(Repa intArea.java:17 7)
at
sun.awt.windo ws.WComponentPe er.handleEvent( WComponentPeer. java:260)
at java.awt.Compon ent.dispatchEve ntImpl(Componen t.java:3678)
at java.awt.Contai ner.dispatchEve ntImpl(Containe r.java:1627)
at java.awt.Compon ent.dispatchEve nt(Component.ja va:3477)
at java.awt.EventQ ueue.dispatchEv ent(EventQueue. java:456)
at
java.awt.Even tDispatchThread .pumpOneEventFo rHierarchy(Even tDispatchTh
read.java:201 )
at
java.awt.Even tDispatchThread .pumpEventsForH ierarchy(EventD ispatchThre
ad.java:151 )
at
java.awt.Even tDispatchThread .pumpEvents(Eve ntDispatchThrea d.java:145)

at
java.awt.Even tDispatchThread .pumpEvents(Eve ntDispatchThrea d.java:137)

at java.awt.EventD ispatchThread.r un(EventDispatc hThread.java:10 0)
java.lang.Nul lPointerExcepti on
at FrogManiaApp.pa int(FrogManiaAp p.java:102)
at sun.awt.Repaint Area.paint(Repa intArea.java:17 7)
at
sun.awt.windo ws.WComponentPe er.handleEvent( WComponentPeer. java:260)
at java.awt.Compon ent.dispatchEve ntImpl(Componen t.java:3678)
at java.awt.Contai ner.dispatchEve ntImpl(Containe r.java:1627)



And the program source is as below.....


import javax.swing.JOp tionPane;
import java.applet.App let;
import java.awt.*;
import java.awt.event. *;

public class FrogManiaApp extends Applet implements MouseListener
{
private static final int IMG_FROG_N=0;
private static final int IMG_FROG_E=1;
private static final int IMG_FROG_S=2;
private static final int IMG_FROG_W=3;
private static final int IMG_DRAGONFLY=4 ;
private static final int IMG_LEAF=5;
private static final int NUM_OF_IMG=6;
private static final long SLEEP_TIME=200;
private static final int STATUS_HEIGHT=2 0;

private Image[] images=new Image[6];
private Point tconvert=new Point();
private String configFile;

private int tnotice;

private FrogMania game;
private Dimension imageSize;
private Point input;
private FrogManiaRunner runner;
private Point highlightPoint;
private Image buffer;
private Graphics bufferG;
private boolean buffered;
private Pond pond;

private Color color;

private MediaTracker tracker;

public void init()
{
tracker=new MediaTracker(th is);
color=new Color(0,0,0);

for(int i=0; i<=5; i++)
{
images[i]=getImage(getCo deBase(),"img"+ i+".gif");
tracker.addIm age(images[i],0);
try
{ tracker.waitFor All(); }
catch (InterruptedExc eption ex)
{ System.out.prin tln("Interrupte d when reading image files. ...><..."); }
}

imageSize=n ew
Dimension(ima ges[0].getWidth(this) ,images[0].getHeight(this ));

configFile=ge tParameter("con fig");
if (configFile==nu ll)
{ configFile="con fig01.dat"; }

pond=new Pond(getDocumen tBase(),configF ile);
game=new FrogMania(pond, this);

buffered=fals e;
highlightPoin t=null;
addMouseListe ner(this);
}

public void update(Graphics g)
{
paint(g);
}

public void paint(Graphics g)
{
if (!buffered)
{
buffer=create Image(420,370);
bufferG=buffe r.getGraphics() ;
buffered=true ;
}

for (int y=0; y<=5; y++)
{
for (int x=0; x<=4; x++)
{
tconvert=ne w Point(x,y);

if (game.getPond() .getAnimal(tcon vert)==null)
{
bufferG.drawI mage(images[IMG_LEAF],y*imageSize.wi dth,x*imageSize .height,this);
}
else
if (game.getPond() .getAnimal(tcon vert) instanceof Frog)
{
if
(((Frog)(pond .getAnimal(tcon vert))).getOrie ntation().equal s(Direction.NOR TH))
{ tnotice=IMG_FRO G_N; }
if
((((Frog)pond .getAnimal(tcon vert))).getOrie ntation().equal s(Direction.SOU TH))
{ tnotice=IMG_FRO G_S; }
if
((((Frog)pond .getAnimal(tcon vert))).getOrie ntation().equal s(Direction.WES T))
{ tnotice=IMG_FRO G_W; }
if
((((Frog)pond .getAnimal(tcon vert))).getOrie ntation().equal s(Direction.EAS T))
{ tnotice=IMG_FRO G_E; }
bufferG.drawI mage(images[IMG_LEAF],y*imageSize.wi dth,x*imageSize .height,this);

bufferG.drawI mage(images[tnotice],y*imageSize.wi dth,x*imageSize .height,this);
}
else
if (pond.getAnimal (tconvert) instanceof Dragonfly)
{

bufferG.drawI mage(images[IMG_LEAF],y*imageSize.wi dth,x*imageSize .height,this);

bufferG.drawI mage(images[IMG_DRAGONFLY],y*imageSize.wi dth,x*imageSize .height,this);
}
}
}

if (highlightPoint !=null)
{
bufferG.setCo lor(Color.red);

bufferG.drawR ect((int)highli ghtPoint.getX() ,(int)highlight Point.getY(),im ageSize.width,i mageSize.height );
bufferG.setCo lor(Color.black );

bufferG.fillR ect(0,5*imageSi ze.height,6*ima geSize.width,5* imageSize.heigh t+STATUS_HEIGHT );
bufferG.setCo lor(Color.green );
bufferG.drawS tring("Number of dragonflies:
"+game.getPon d().numOfDragon flies(),(int)(i mageSize.width/3.5),(int)(5*im ageSize.height+ STATUS_HEIGHT/4));
}

g.drawImage(b uffer, 0, 0, this);
}

public void updateDisplay()
{
repaint();
}

public void highlight(Point pt)
{
this.highligh tPoint=new Point((int)pt.g etX(),(int)pt.g etY());
try
{ Thread.sleep(SL EEP_TIME); }
catch (InterruptedExc eption ex)
{ }
}

public void start()
{
runner=new FrogManiaRunner (game);
runner.start( );
}

public synchronized void stop()
{
game = null;
runner = null;
input = null;
notifyAll() ;
}

public void gameOver()
{

JOptionPane.s howMessageDialo g(null,"informa tion","informat ion",JOptionPan e.INFORMATION_M ESSAGE);
}

public synchronized Point getInput()
{
try
{ wait(); }
catch (InterruptedExc eption ex)
{ }

return input;
}

public synchronized void mouseClicked(Mo useEvent e)
{ input=e.getPoin t();
notifyAll() ;
}

public synchronized void mouseExited(Mou seEvent e)
{ }

public synchronized void mousePressed(Mo useEvent e)
{ }

public synchronized void mouseReleased(M ouseEvent e)
{ }

public synchronized void mouseEntered(Mo useEvent e)
{ }
}

Where is it?!?

A billion thx for your responses!!!!



I suspect that your images[] array does not contain an image, thus when
you call >
bufferG.drawIma ge(images[IMG_LEAF],y*imageSize.wi dth,x*imageSize .height,this);

there is a null in images[IMG_LEAF] I could be wrong.
is that line 102? Since it is hard to figure out what line is 102 could
you paste that line in your reply?

Roman.
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
8567
by: K S Aldebaraan | last post by:
I'm trying to submit a form with an action of a servlet, and a view equal to the same jsp page. I'm not sure what I'm doing wrong, but keep getting a NullPointerException on the second line of code below: RequestDispatcher dispatcher = myConfig.getServletContext().getRequestDispatcher(view); dispatcher.forward(request, response); The...
0
7562
by: JeffRoot | last post by:
I receive the following error message when I try to run the Database Configuration Assistant on Solaris 8 / Oracle 9i. Does anyone know the solution to this problem? I thought it might have something to do with my Java class path. Thanks! java.lang.NullPointerException
3
3158
by: Alan Krueger | last post by:
Greetings, I've been able to cache Transformer objects in a Tomcat-based servlet application to avoid unnecessary Transformer rebuilding, except for certain ones on certain machines. I'm running Tomcat 4.1.27 under Eclipse 2.1.0 using the Sysdeo Tomcat plugin using j2re1.4.1_02 under Windows 2000 SP4. I've digested this down to a small...
1
1882
oll3i
by: oll3i | last post by:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at Zad21.Cennik.getCenna(Cennik.java) at Zad21.KwiaciarniaView$1.actionPerformed(KwiaciarniaView.java) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) package Zad21;
13
1952
oll3i
by: oll3i | last post by:
private List<Klient> klienci; m_add_client.addActionListener( new ActionListener() { public void actionPerformed(ActionEvent e) { try{
1
2406
by: ketand1 | last post by:
import java.awt.*; import java.awt.event.*; import java.io.*; import java.util.*; import java.sql.*; import java.lang.*; class DbAwt extends Frame implements ActionListener { private TextField t1, t2, t3;
1
1175
by: Lost Prophet | last post by:
Hi Im having a problem with some code. Originally, the application was set into three packages (script, gui and control). I have changed is so there is a fourth called 'report'. Whenever I call upon anything in the report package though, there is a NullPointerException for the 'report' variable (which identifies the location of the report. The...
2
6866
by: dragonridingsorceress | last post by:
I am trying to learn how to use the JFileChooser. I'm working in BlueJ. I keep getting a NullPointerException. Full text of the error message is at the bottom of the post. My code is based on some of the examples I've seen online - in fact, it is almost identical. The only things I've changed (I think) are variable names. The main one I've been...
3
3327
by: chris123456789 | last post by:
Hi, when I run my code I get a NullPointerException:null. Here is the part of the code where the error occurs: import java.util.*; import java.io.*; public class Decrypt { ArrayList<String> dictionary; ArrayList<String> encryptedText;
0
7512
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7438
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7707
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7803
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5362
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5082
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1926
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1051
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
751
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.