Problem with displaying objects in GUI
I'm just going through a small book on Java programming and the goal is to press a button to show a shape (ie: circle) and then to press a button to hide that same shape.
My idea was to simply add it in but change the visibility to true and false. Now, I get it to show perfectly but I can't get it to hide (ie: setVisiblity to false) for some reason. The problem lies in the actionPerformed method of the CommandMain class. I'm at a loss as to why I can't simply change the visibility of the object to true and false.
I've include the relevant code below
Thanks for all your help in advance.
================= COMMANDMAIN.JAVA =================
public class CommandMain extends JFrame implements ActionListener
{ JButton circleButton = new JButton("Make Circle");
JButton squareButton = new JButton("Make Square");
JButton undoButton = new JButton("Undo Last");
JButton exitButton = new JButton("Exit");
private static Vector objectList = new Vector(); // Stores objects in order
JPanel container = new JPanel();
Button newCircle; // Used to add a Circle object to the vector
Button newSquare;
Button newShape;
Button objectToHide;
// CONSTRUCTOR
// PURPOSE: Used to set up all the buttons on our Panel
public CommandMain()
{ setSize(400,400);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
// Add interactive ability to buttons
circleButton.addActionListener(this);
squareButton.addActionListener(this);
undoButton.addActionListener(this);
exitButton.addActionListener(this);
// Add them so we can see them on the panel
this.container.add(circleButton);
this.container.add(squareButton);
this.container.add(undoButton);
this.container.add(exitButton);
setContentPane(container);
setVisible(true);
// PURPOSE: Used to create an instance of itself so we can see the frame
public static void main(String args[]) throws IOException
{ CommandMain window = new CommandMain(); }
// PURPOSE: Used to perform actions based on the button picked by the user
public void actionPerformed(ActionEvent picked)
{ Object choice = picked.getSource();
if(choice == circleButton) // CIRCLE WAS SELECTED
{ newShape = new Button("Circle");
Button newCircle = newShape.getShape();
this.container.add(newCircle); // Add it to my container
newShape.execute();
objectList.add(newShape); // Add the object to my Vector
setContentPane(container);
repaint(); // Redraw the GUI because it changed
else if(choice == undoButton) // UNDO WAS SELECTED
{ if(objectList.size() > 0) // Check to ensure we don't overstep the boundaries
{ System.out.println("UNDO Pressed");
objectToHide = (Button)objectList.elementAt(objectList.size()-1);
objectToHide.hideShape(); // <-- NOT WORKING
objectList.removeElementAt(objectList.size()-1);
setContentPane(container);
repaint();
} // End if(objectList.size() > 0)
} // End undoButton
else if(choice == exitButton) // EXIT WAS SELECTED
{ System.out.println("Goodbye: Application exiting");
dispose();
System.exit(0);
else // No idea what button was selected
{ System.out.println("ERROR: Invalid option"); }
========================== BUTTON.JAVA ==================
import java.awt.*;
import javax.swing.*;
public class Button extends JPanel
{ String objectShape;
Button()
Button(String shape)
{ this.objectShape = shape; }
public void execute()
{ setVisible(true); }
public void hideShape()
{ System.out.println("hideShape called");
super.setVisible(false);
public Button getShape()
{ if(this.objectShape.equals("Circle"))
{ System.out.println("Making a circle");
Circle newCircle = new Circle();
return newCircle;
else if(this.objectShape.equals("Square"))
{ System.out.println("Making a square");
Square newSquare = new Square();
return newSquare;
return null;
This will do the job, read and learn
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class CommandMain extends JFrame implements ActionListener
Shape shape;
JPanel pan = new JPanel();
JPanel but = new JPanel();
JButton circleButton = new JButton("Make Circle");
JButton squareButton = new JButton("Make Square");
JButton undoButton = new JButton("Undo Last");
JButton exitButton = new JButton("Exit");
public CommandMain()
super();
setBounds(6,6,700,400);
addWindowListener(new WindowAdapter()
{ public void windowClosing(WindowEvent ev)
dispose();
System.exit(0);
pan.setBackground(Color.pink);
getContentPane().add("Center",pan);
but.add(circleButton);
but.add(squareButton);
but.add(undoButton);
but.add(exitButton);
circleButton.addActionListener(this);
squareButton.addActionListener(this);
undoButton.addActionListener(this);
exitButton.addActionListener(this);
getContentPane().add("South",but);
setVisible(true);
public void actionPerformed(ActionEvent a)
if (a.getSource() == circleButton)
pan.add(new Shape("Circle"));
pan.revalidate();
if (a.getSource() == squareButton)
pan.add(new Shape("Square"));
pan.revalidate();
if (a.getSource() == undoButton && pan.getComponentCount() > 0)
pan.remove(pan.getComponentCount()-1);
pan.revalidate();
pan.repaint();
if (a.getSource() == exitButton)
dispose();
System.exit(0);
public class Shape extends JComponent
String shape;
public Shape(String shape)
this.shape = shape;
setPreferredSize(new Dimension(20,20));
public void paintComponent(Graphics g)
super.paintComponent(g);
if (shape.equals("Circle"))
g.drawOval(0,0,getWidth()-1,getHeight()-1);
if (shape.equals("Square"))
g.drawRect(0,0,getWidth()-1,getHeight()-1);
public static void main (String[] args)
new CommandMain();
} Noah
Similar Messages
-
Problem with displaying BLOB images on JSP page using a servlet
hi. I have a big problem with displaying BLOB images using JSP. I have a servlet that connects to the oracle database, gets a BLOB image , reads it, and then displays it using a BinaryStream. The problem is , this works only when i directly call that servlet, that is http://localhost:8080/ImageServlet. It doesn't work when i try to use that servlet to display my image on my JSP page (my JSP page displays only a broken-image icon ) I tried several coding approaches with my servlet (used both Blob and BLOB objects), and they work just fine as long as i display images explicitly using only the servlet.
Here's what i use : ORACLE 10g XE , Eclipse 3.1.2, Tomcat 5.5.16 , JDK 1.5
here is one of my image servlet's working versions (the essential part of it) :
BLOB blob=null;
rset=st.executeQuery("SELECT * FROM IMAGES WHERE ID=1");
while (rset.next())
blob=((OracleResultSet)rset).getBLOB(2);
response.reset();
response.setContentType("image/jpeg");
response.addHeader("Content-Disposition","filename=42.jpeg");
ServletOutputStream ostr=response.getOutputStream();
InputStream istr=blob.getBinaryStream(1L);
int size=blob.getBufferSize();
int len=-1;
byte[] buff = new byte[size];
while ((len=istr.read( buff ))!=-1 ) {
ostr.write(buff,0,len);
response.flushBuffer();
ostr.close(); and my JSP page code :
<img src="/ImageServlet" border="0" > If you could just tell me what i'm doing wrong here , or if you could show me your own solutions to that problem , i would be very greatful ,cos i'm realy stuck here , and i'm rather pressed for time too. Hope someone can help.I turns out that it wasn't that big of a problem after all. All i had to do was to take the above code and place it into another JSP page instead of into a servlet like i did before. Then i just used that page as a source for my IMG tag in my first JSP. It works perfectly well. Why this doesn't work for servlets i still don't know, but it's not a problem form me anymore . Ofcourse if someone knows the answer , go ahead and write. I would still appriceatte it.
here's the magic tag : <img src="ImageJSP.jsp" border="0" > enjoy : ) -
Sql Devloper 4.0.0.13 - problems with displaying user data types
Hi,
I have installed new version of sqldeveloper and have discovered some problems with displaying user data types. The data that is described as VARCHAR2 are displayed with ‘???’.
The problem persist in table view, script output and exported files.
My type is described as follows:
create or replace TYPE "DPTY_ADRESA" AS OBJECT
ID_DPSF_OPCINE NUMBER,
ID_DPSF_MJESTA NUMBER,
OPCINA VARCHAR2(100),
MJESTO VARCHAR2(100),
ULICA VARCHAR2(200),
BROJ VARCHAR2(20),
SPRAT VARCHAR2(20),
OSTALO VARCHAR2(100),
CONSTRUCTOR FUNCTION dpty_adresa RETURN SELF AS RESULT
add MEMBER FUNCTION dajAdresu RETURN VARCHAR2 cascade;
when make select column from table that contains this type I get next results:
CASE 1:
SQLDeveloper Version 3.2.20.09; Build MAIN-09.87; JDK 1.6.0_43; Windows 7 64 bit
Select:
select id, adresalokacija
from dptr_saglasnosti
where id = 1;
Result:
ID ADRESALOKACIJA
1 COMP.DPTY_ADRESA(124,4913,'TRAIK','TURBE','BABANA','3452','0',NULL)
END CASE 1;
CASE 2:
SQLDeveloper Version 4.0.0.13; Build MAIN-13.80; JDK 1.7.0_40; Windows 7 64 bit
Select1:
select id, adresalokacija
from dptr_saglasnosti
where id = 1;
Result1:
ID ADRESALOKACIJA
1 COMP.DPTY_ADRESA(124,4913,'???','???','???','???','???',NULL)
But if I select one element it is displayed normal.
Select2:
select id, a.adresalokacija.opcina
from dptr_saglasnosti a
where id = 1;
Result2:
ID ADRESALOKACIJA.OPCINA
1 TRAVNIK
END CASE 2;
I have tried this scenario on three different pc with same output.
Pleas help me to get rid of the '???' in result.
Best Regards,
OmerI tried on SQLDeveloper Version 4.0.0.13; Build MAIN-13.80; JDK 1.7.0_45; Windows 7 64 bit; NLS setting is default
all data can show,No ??? in result
Test step as following:
create or replace TYPE "DPTY_ADRESA" AS OBJECT
ID_DPSF_OPCINE NUMBER,
ID_DPSF_MJESTA NUMBER,
OPCINA VARCHAR2(100),
MJESTO VARCHAR2(100),
ULICA VARCHAR2(200),
BROJ VARCHAR2(20),
SPRAT VARCHAR2(20),
OSTALO VARCHAR2(100),
CONSTRUCTOR FUNCTION dpty_adresa RETURN SELF AS RESULT
alter TYPE "DPTY_ADRESA" add MEMBER FUNCTION dajAdresu RETURN VARCHAR2 cascade;
CREATE TABLE dptr_saglasnosti (
adresalokacija DPTY_ADRESA,
id number);
INSERT INTO dptr_saglasnosti VALUES (
DPTY_ADRESA (65,225,'Vrinda Mills', '1-800-555-4412','sss','aaaa','eeeee','attta'),1 );
select id, adresalokacija from dptr_saglasnosti where id = 1;
ID ADRESALOKACIJA
1 HRCP.DPTY_ADRESA(65,225,'Vrinda Mills','1-800-555-4412','sss','aaaa','eeeee','attta') -
Hello,
Im using Photoshop CC and when it starts up it sometimes gives me this error message:
'Problem with display driver and has temporary disabled enhancements which use graphics hardware.'
What does this mean?
Then it tells me to download the latstest software and gives me a link to an Adobe site that tells me nothing about a sollution.
About my mac:
MacBook Pro
Intel Core i7
2,2 GHz
4 cores
8 GB RAM
AMD Radeon HD 6750M
Thanks a bunch!Here you go:
Adobe Photoshop Version: 14.2 (14.2 20131211.r.515 2013/12/11:23:00:00) x64
Operating System: Mac OS 10.9.1
System architecture: Intel CPU Family:6, Model:42, Stepping:7 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
Physical processor count: 4
Logical processor count: 8
Processor speed: 2200 MHz
Built-in memory: 4096 MB
Free memory: 2266 MB
Memory available to Photoshop: 3136 MB
Memory used by Photoshop: 80 %
Image tile size: 1024K
Image cache levels: 4
Font Preview: Medium
TextComposer: Latin
The GPU Sniffer crashed on 10/01/2014 at 09:05:58
Display: 1
Main Display
Display Bounds: top=0, left=0, bottom=900, right=1440
OpenGL Drawing: Enabled.
OpenGL Allow Old GPUs: Not Detected.
OpenGL Drawing Mode: Advanced
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: True.
AIFCoreInitialized=1
AIFOGLInitialized=1
OGLContextCreated=1
NumGPUs=1
gpu[0].OGLVersion="2.1"
gpu[0].MemoryMB=1024
gpu[0].RectTextureSize=16384
gpu[0].Renderer="AMD Radeon HD 6750M OpenGL Engine"
gpu[0].RendererID=16915206
gpu[0].Vendor="ATI Technologies Inc."
gpu[0].VendorID=4098
gpu[0].HasNPOTSupport=1
gpu[0].CompileProgramGLSL=1
gpu[0].TestFrameBuffer=1
gpu[0].OCLPresent=1
gpu[0].OCLVersion="1.2 (Aug 24 2013 21:03:27)"
gpu[0].CUDASupported=0
gpu[0].OCLBandwidth=1.89051e+10
gpu[0].glGetString[GL_SHADING_LANGUAGE_VERSION]="1.20"
gpu[0].glGetProgramivARB[GL_FRAGMENT_PROGRAM_ARB][GL_MAX_PROGRAM_INSTRUCTIONS_ARB]=[4096]
gpu[0].glGetIntegerv[GL_MAX_TEXTURE_UNITS]=[8]
gpu[0].glGetIntegerv[GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS]=[16]
gpu[0].glGetIntegerv[GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS]=[16]
gpu[0].glGetIntegerv[GL_MAX_TEXTURE_IMAGE_UNITS]=[16]
gpu[0].glGetIntegerv[GL_MAX_DRAW_BUFFERS]=[8]
gpu[0].glGetIntegerv[GL_MAX_VERTEX_UNIFORM_COMPONENTS]=[3072]
gpu[0].glGetIntegerv[GL_MAX_FRAGMENT_UNIFORM_COMPONENTS]=[3072]
gpu[0].glGetIntegerv[GL_MAX_VARYING_FLOATS]=[128]
gpu[0].glGetIntegerv[GL_MAX_VERTEX_ATTRIBS]=[16]
gpu[0].extension[AIF::OGL::GL_ARB_VERTEX_PROGRAM]=1
gpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_PROGRAM]=1
gpu[0].extension[AIF::OGL::GL_ARB_VERTEX_SHADER]=1
gpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_SHADER]=1
gpu[0].extension[AIF::OGL::GL_EXT_FRAMEBUFFER_OBJECT]=1
gpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_RECTANGLE]=1
gpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_FLOAT]=1
gpu[0].extension[AIF::OGL::GL_ARB_OCCLUSION_QUERY]=1
gpu[0].extension[AIF::OGL::GL_ARB_VERTEX_BUFFER_OBJECT]=1
gpu[0].extension[AIF::OGL::GL_ARB_SHADER_TEXTURE_LOD]=1
License Type: Subscription
Serial number:
Application folder: /Applications/Adobe Photoshop CC/
Photoshop scratch has async I/O enabled
Scratch volume(s):
Macintosh HD, 697.8G, 107.2G free
Required Plug-ins folder: /Applications/Adobe Photoshop CC/Adobe Photoshop CC.app/Contents/Required/Plug-Ins/
Primary Plug-ins folder: /Applications/Adobe Photoshop CC/Plug-Ins/
Installed components:
adbeape.framework adbeape 3.4.0.29366 0.1160850
AdbeScriptUIFlex.framework AdbeScriptUIFlex 6.3.2.31983 79.546835
adobe_caps.framework adobe_caps 7.0.0.21 1.248010
AdobeACE.framework AdobeACE 2.20.02.31977 79.548223
AdobeAGM.framework AdobeAGM 4.30.29.31977 79.548223
AdobeAXE8SharedExpat.framework AdobeAXE8SharedExpat 3.7.101.18636 66.26830
AdobeAXEDOMCore.framework AdobeAXEDOMCore 3.7.101.18636 66.26830
AdobeBIB.framework AdobeBIB 1.2.03.31977 79.548223
AdobeBIBUtils.framework AdobeBIBUtils 1.1.01 79.548223
AdobeCoolType.framework AdobeCoolType 5.15.00.31977 79.548223
AdobeCrashReporter.framework AdobeCrashReporter 7.0.1
AdobeExtendScript.framework AdobeExtendScript 4.5.5.31983 79.546835
AdobeJP2K.framework AdobeJP2K 1.2.2.31977 79.248139
AdobeLinguistic.framework 19061
AdobeMPS.framework AdobeMPS 5.8.1.31977 79.535029
AdobeOwl.framework AdobeOwl 5.0.24 79.547804
AdobePDFL.framework AdobePDFL 11.0.0.31977 79.508720
AdobePDFSettings.framework AdobePDFSettings 1.4
AdobePIP.framework AdobePIP 7.0.0.1786
AdobeScCore.framework AdobeScCore 4.5.5.31983 79.546835
AdobeUpdater.framework AdobeUpdater 6.0.0.1452 "52.338651"
AdobeXMP.framework AdobeXMPCore 79.154911 79.154911
AdobeXMPFiles.framework AdobeXMPFiles 79.154911 79.154911
AdobeXMPScript.framework AdobeXMPScript 79.154911 79.154911
ahclient.framework ahclient 1.8.0.31
aif_core.framework AdobeAIF 5.0.00 79.534508
aif_ocl.framework AdobeAIF 5.0.00 79.534508
aif_ogl.framework AdobeAIF 5.0.00 79.534508
AlignmentLib.framework xcode Copyright © 2013 Adobe Systems Incorporated
amtlib.framework amtlib 7.0.0.249
boost_date_time.framework boost_date_time 7.0.0.0
boost_signals.framework boost_signals 7.0.0.0
boost_system.framework boost_system 7.0.0.0
boost_threads.framework boost_threads 7.0.0.0
Cg.framework NVIDIA Cg
CIT.framework CIT 2.1.6.30929 151865
CITThreading.framework CITThreading 2.1.6.30929 151865
dvaaudiodevice.framework dvaaudiodevice 7.0.0.0
dvacore.framework dvacore 7.0.0.0
dvamarshal.framework dvamarshal 7.0.0.0
dvamediatypes.framework dvamediatypes 7.0.0.0
dvaplayer.framework dvaplayer 7.0.0.0
dvatransport.framework dvatransport 7.0.0.0
dvaunittesting.framework dvaunittesting 7.0.0.0
dynamiclink.framework dynamiclink 7.0.0.0
FileInfo.framework FileInfo 79.154511 79.154511
filter_graph.framework AdobeAIF 5.0.00 79.534508
ICUConverter.framework ICUConverter 3.61 "gtlib_3.0" "." "16615"
ICUData.framework ICUData 3.61 "gtlib_3.0" "." "16615"
LogSession.framework LogSession 2.1.2.1785
mediacoreif.framework mediacoreif 7.0.0.0
patchmatch.framework patchmatch 1.2.00.31977 79.542390
PlugPlugOwl.framework PlugPlugOwl 4.2.0.36
UpdaterNotifications.framework UpdaterNotifications 7.0.1.102 "7.0.1.102"
WRServices.framework
Required plug-ins:
3D Studio 14.2 x001 ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
Accented Edges 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Adaptive Wide Angle 14.2, Copyright © 2014 Adobe Systems Incorporated - from the file “Adaptive Wide Angle.plugin”
Angled Strokes 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Average 14.2 x001 ©1993-2014 Adobe Systems Incorporated - from the file “Average.plugin”
Bas Relief 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
BMP 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Camera Raw 8.3 (141), Copyright © 2013 Adobe Systems Incorporated - from the file “Camera Raw.plugin”
Camera Raw Filter 8.3 (141), Copyright © 2013 Adobe Systems Incorporated - from the file “Camera Raw.plugin”
Chalk & Charcoal 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Charcoal 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Chrome 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Cineon 14.2 x001 ©2002-2014 Adobe Systems Incorporated - from the file “Cineon.plugin”
Clouds 14.2 x001 ©1993-2014 Adobe Systems Incorporated - from the file “Clouds.plugin”
Collada DAE 14.2 x001 ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
Color Halftone 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Colored Pencil 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
CompuServe GIF 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Conté Crayon 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Craquelure 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Crop and Straighten Photos 14.2 x001 ©2003-2014 Adobe Systems Incorporated - from the file “CropPhotosAuto.plugin”
Crop and Straighten Photos Filter 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Crosshatch 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Crystallize 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Cutout 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Dark Strokes 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
De-Interlace 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Dicom 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “dicom.plugin”
Difference Clouds 14.2 x001 ©1993-2014 Adobe Systems Incorporated - from the file “Clouds.plugin”
Diffuse Glow 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Displace 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Dry Brush 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Eazel Acquire 14.2 x001 ©1997-2014 Adobe Systems Incorporated - from the file “EazelAcquire.plugin”
Embed Watermark NO VERSION - from the file “DigiSign.plugin”
Entropy 14.2 x001 ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
Extrude 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
FastCore Routines 14.2 x001 ©1990-2014 Adobe Systems Incorporated - from the file “FastCore.plugin”
Fibers 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Film Grain 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Filter Gallery 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Flash 3D 14.2 x001 ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
Fresco 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Glass 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Glowing Edges 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Google Earth 4 KMZ 14.2 x001 ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
Grain 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Graphic Pen 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Halftone Pattern 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
HDRMergeUI 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “HDRMergeUI.plugin”
IFF Format 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Ink Outlines 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
JPEG 2000 14.2 x001 ©2001-2014 Adobe Systems Incorporated - from the file “JPEG2000.plugin”
Kurtosis 14.2 x001 ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
Lens Blur 14.2, Copyright © 2002-2014 Adobe Systems Incorporated - from the file “Lens Blur.plugin”
Lens Correction 14.2, Copyright © 2002-2014 Adobe Systems Incorporated - from the file “Lens Correct.plugin”
Lens Flare 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Liquify 14.2, Copyright © 2001-2014 Adobe Systems Incorporated - from the file “Liquify.plugin”
Matlab Operation 14.2 x001 ©1993-2014 Adobe Systems Incorporated - from the file “ChannelPort.plugin”
Maximum 14.2 x001 ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
Mean 14.2 x001 ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
Measurement Core 14.2 x001 ©1993-2014 Adobe Systems Incorporated - from the file “MeasurementCore.plugin”
Median 14.2 x001 ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
Mezzotint 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Minimum 14.2 x001 ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
MMXCore Routines 14.2 x001 ©1990-2014 Adobe Systems Incorporated - from the file “MMXCore.plugin”
Mosaic Tiles 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Multiprocessor Support 14.2 x001 ©1990-2014 Adobe Systems Incorporated - from the file “MultiProcessor Support.plugin”
Neon Glow 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Note Paper 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
NTSC Colors 14.2 x001 ©1993-2014 Adobe Systems Incorporated - from the file “NTSC Colors.plugin”
Ocean Ripple 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Oil Paint 14.2, Copyright © 2014 Adobe Systems Incorporated - from the file “Oil Paint.plugin”
OpenEXR 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Paint Daubs 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Palette Knife 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Patchwork 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Paths to Illustrator 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
PCX 14.2 x001 ©1989-2014 Adobe Systems Incorporated - from the file “PCX.plugin”
Photocopy 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Photoshop 3D Engine 14.2 x001 ©2006-2014 Adobe Systems Incorporated - from the file “Photoshop3DEngine.plugin”
Photoshop Touch CC (14.2.0.0) ©1993-2014 Adobe Systems Incorporated - from the file “PSDX.plugin”
Picture Package Filter 14.2 x001 ©1993-2014 Adobe Systems Incorporated - from the file “ChannelPort.plugin”
Pinch 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Pixar 14.2 x001 ©1989-2014 Adobe Systems Incorporated - from the file “Pixar.plugin”
Plaster 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Plastic Wrap 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
PNG 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Pointillize 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Polar Coordinates 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Portable Bit Map 14.2 x001 ©1989-2014 Adobe Systems Incorporated - from the file “PBM.plugin”
Poster Edges 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Radial Blur 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Radiance 14.2 x001 ©2003-2014 Adobe Systems Incorporated - from the file “Radiance.plugin”
Range 14.2 x001 ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
Read Watermark NO VERSION - from the file “DigiRead.plugin”
Reticulation 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Ripple 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Rough Pastels 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Save for Web 14.2, Copyright © 1999-2014 Adobe Systems Incorporated - from the file “Save for Web.plugin”
ScriptingSupport 14.2, Copyright © 2014 Adobe Systems Incorporated - from the file “ScriptingSupport.plugin”
Shake Reduction 14.2, Copyright © 2014 Adobe Systems Incorporated - from the file “Shake Reduction.plugin”
Shear 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Skewness 14.2 x001 ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
Smart Blur 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Smudge Stick 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Solarize 14.2 x001 ©1993-2014 Adobe Systems Incorporated - from the file “Solarize.plugin”
Spatter 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Spherize 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Sponge 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Sprayed Strokes 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Stained Glass 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Stamp 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Standard Deviation 14.2 x001 ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
STL 14.2 x001 ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
Sumi-e 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Summation 14.2 x001 ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
Targa 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Texturizer 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Tiles 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Torn Edges 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Twirl 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Underpainting 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Vanishing Point 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “VanishingPoint.plugin”
Variance 14.2 x001 ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
Water Paper 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Watercolor 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
Wave 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Wavefront|OBJ 14.2 x001 ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
Wind 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Wireless Bitmap 14.2 x001 ©1989-2014 Adobe Systems Incorporated - from the file “WBMP.plugin”
ZigZag 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
Optional and third party plug-ins: NONE
Plug-ins that failed to load: NONE
Flash:
Mini Bridge
Kuler
Adobe Exchange
Installed TWAIN devices: NONE -
I have a early 2011 Macbook pro 13 inch, I'm running Lion 10.7.4, and i want to upgrade to 10.8 Mountain Lion. Is it safe for my computer or are people experiencing problems with displays and Battery life?
Do Not post stuff about how Airplay doesnt work, because i dont have Apple TV and dont need to hear about it.If you have an external drive equal to or larger than your internal HD, clone your internal to it with either Carbon Copy Cloner or Super Duper. Test the clone to make sure it's bootable. Then upgrade either one. Try it out first.
-
Problem with displaying chart data
Hello everybody,
I have problem with displaying chart data correctly. I'm using a cartesian chart with DateTimeAxis. The stockdata I'm using is for half a year and
with ticks for every day. The problem is, that Flex displays the data of february in march together with the data of march. I have added a picture
to show the result. The second column of the grid is for february and the third for march.
Could anybody help me with this problem. Thanks in advance.
ThomasHi Chris,
thanks for your reply. Here you get the source code:
The following method creates the LineChart:
public function init():void
model.upperChart = this;
model.upperChartStyle.setChartViewStyle(this);
this.hAxis = new MyDateTimeAxis();
model.upperChartData.configureHAxis(this.hAxis);
this.vAxis = new LinearAxis();
model.upperChartData.configureVAxis(this.vAxis);
this.vAxisTitle = new Label();
this.vAxisTitle.text = model.upperChartData.getVAxisTitle();
model.upperChartStyle.setVAxisTitleLabelStyle(this.vAxisTitle);
this.vAxisTitle.x = 10
this.vAxisTitle.y = 0;
this.addChild(this.vAxisTitle);
this.myChart = new CartesianChart();
//remove default datatip
this.myChart.showDataTips = false;
this.myChart.x = 10;
this.myChart.y = 0;
this.myChart.width = 768;
this.myChart.height = 196;
model.upperChartStyle.setChartStyle(this.myChart);
this.addChild(this.myChart);
//Remove line shadow
this.myChart.seriesFilters = null;
this.myChart.horizontalAxis = this.hAxis;
this.myChart.verticalAxis = this.vAxis;
this.hAxisRenderer = new AxisRenderer();
model.upperChartData.configureHAxisRenderer(this.hAxisRenderer);
this.hAxisRenderer.axis = this.hAxis;
model.upperChartStyle.setHAxisRendererStyle(this.hAxisRenderer);
this.myChart.horizontalAxisRenderers.push(this.hAxisRenderer);
this.vAxisRenderer = new AxisRenderer();
model.upperChartData.configureVAxisRenderer(this.vAxisRenderer);
this.vAxisRenderer.axis = this.vAxis;
model.upperChartStyle.setVAxisRendererStyle(this.vAxisRenderer);
this.myChart.verticalAxisRenderers.push(this.vAxisRenderer);
model.upperChartStyle.setVAxisDataLabelStyle(this.vAxisMinLabel);
this.addChild(this.vAxisMinLabel);
model.upperChartStyle.setSeriesStyle(model.upperChartData.series, model.upperChartData.shares);
this.myChart.dataProvider = model.upperChartData.dataProvider;
this.myChart.series = model.upperChartData.series;
The data for dataprovider and series you can see in attached file dataprovider.xml.
xfield is equivalent to timestamp
yfield is equivalent to absolute
I think the problem could be the configuration of the datetimeaxis. The following method shows the parameter for the datetimeaxis:
public function configureHAxis(axis:MyDateTimeAxis):void
axis.parseFunction = UtilityClass.parseYYYYMMDDHHNNSSString2Date;
axis.dataUnits = "days";
axis.dataInterval = 1;
axis.title = "";
axis.minimum = new Date(UtilityClass.parseYYYYMMDDHHNNSSString2Date("2009-01-07 00:00:00").time);
axis.maximum = new Date(UtilityClass.parseYYYYMMDDHHNNSSString2Date("2009-07-06 00:00:00").time);
And finally you get the function, that I'm using for string to date conversion:
public static function parseYYYYMMDDHHNNSSString2Date(input:String):Date
var result:Date = new Date();
var year:Number = Number(input.substring(0,4));
var month:Number = Number(input.substring(5,7));
var date:Number = Number(input.substring(8,10));
var hours:Number = Number(input.substring(11,13));
var minutes:Number = Number(input.substring(14,16));
var seconds:Number = Number(input.substring(17,19));
result.setUTCFullYear(year);
result.setUTCMonth(month-1);
result.setUTCDate(date);
result.setUTCHours(hours);
result.setUTCMinutes(minutes);
result.setUTCSeconds(seconds);
return result;
I hope that will help to locate the reason for the wrong chart visualization.
Thanks for any help. -
Hello!
Sorry, I'm a beginner in APEX and have some problems with displaying images in my application. I have read the same topic but unfortunately didnt find the solution.
So.. I have the interactive report
table test (
NAME NOT NULL VARCHAR2(4000)
ID NUMBER
BLOB_CONTENT BLOB
MIME_TYPE VARCHAR2(4000))
I need to display the column blob_content.
Thnks a lot.1009316 wrote:
Hello! Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your forum profile with a real handle instead of "1009316".
When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
<li>Full APEX version
<li>Full DB/version/edition/host OS
<li>Web server architecture (EPG, OHS or APEX listener/host OS)
<li>Browser(s) and version(s) used
<li>Theme
<li>Template(s)
<li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
Sorry, I'm a beginner in APEX and have some problems with displaying images in my application. I have read the same topic but unfortunately didnt find the solution.
So.. I have the interactive report
table test (
NAME NOT NULL VARCHAR2(4000)
ID NUMBER
BLOB_CONTENT BLOB
MIME_TYPE VARCHAR2(4000))
I need to display the column blob_content.This is described in the documentation: About BLOB Support in Forms and Reports and Display Image. There's an OBE tutorial that followed the introduction of declarative BLOB support in 3.1 as well. -
Problem with displaying any picture at all.
Hi there, one of my iMacs has a problem with displaying video.
When I turn the computer on the screen shows a yellow-orange hue in the centre, and it's getting wider across the screen and bright, eventually it turns to a white screen. Now I know for a fact it's nothing to do with the logic board! I can control the computer with remote desktop and dim the screen or make it brighter. My question is, is it the cabling that is faulty or something else?
If it's the cabling, how can I open the chrome neck and change it?
Thanks youDid your testing include utilizing a second display and adapter to see
how a mirrored output of the video would appear; to be sure this item
is isolated to the wiring from the circuit boards to the attached LCD?
There are components within the border of the iMac G4's display which
may affect the image as they wear out and/or fail. The inverter, is one
item that is in the panel along with the backlight and liquid crystal layer.
Removing or replacing the wire harness between these components,
the computer base and LCD panel, is a bit of work. This topic has been
addressed in these forums at one time or another; and a few owners
who contribute here have experience taking these apart. In the past,
getting a known-good display with chrome arm and harness, from an-
other iMac (perhaps one with logic board failure) and combine two,
was an answer when the complete display & arm were known good;
as this saved a fair amount of work on the upper end. Still, taking the
lower orb shape apart is a significant task; to have it work right again.
The cabling could be faulty; the inverter could be. And there may be
yet another associated component failing which produces symptoms.
Taking apart the chrome arm may not be such a good idea; I've seen
the expanded view of one taken apart by a metal cutting saw, and it
has a big spring inside, and a bit of tension. There also are friction pad
parts inside that loose their ability to hold up the panel, so some owners
sought to replace those to varying degrees of trouble.
There should be a few step-by-step instructions. One of the contributors
to the iMac G4 forums here was Mr Totes; one of his web pages had a
few images of take-aparts he'd done. Other sites had basic stuff, such
as replacing optical drive and hard disk drives, thermal paste, RAM, etc.
If you were able to see the correct system images from a second display
via the VGA adapter cable, in mirror mode, the attached unit certainly is
suspect; and the computer is probably repairable. Otherwise, there is a
video component on the logic board not considered a separate part; and
if that fails, the usual fix is to get a reman logic board or another iMac.
Have fun, whichever way it goes.
Good luck & happy computing! -
Problem with displaying picture.
I use PS-CC and LR5.on a HP i7 computer and windows 7.Camera D-800, pictures in raw.
I usually import pictures in nef in LR5,. After some corrections, I export my pictures to DNG format. I sometimes do a little bit of work in camera raw then go into Photoshop.
My problem: When in photoshop, I get a grainy version of my photo which wasn't the situation in LR5 or Camera raw, Hard to work with. The grains will disappear when I enlarge the picture but then I have to enlarge it so much that I only see or can work with only part of my picture. The problem does not appear in CS6.
Hope somebody can help me.
Thanks
Jacques LegaultI should clarify this.. When I import photos into LR5, I always use copy as
DNG. I know that NEF and DNG are the same for photoshop and I always shoot
in raw.
One thing I do not know is how to do a screen shot. I will get back tro you
on that. When I say grain, or noise if you like, I mean that, if i relate
to films, my picture in LR5 would be at ISO 100 and my screen shot in
photoshop would look like it was boosted to 1200 or worse.
See you soon I hope with a screen shot.
2014-06-14 13:43 GMT-04:00 twenty_one <[email protected]>:
Problem with displaying picture. created by twenty_one
<https://forums.adobe.com/people/twenty_one> in *Photoshop General
Discussion* - View the full discussion
<https://forums.adobe.com/message/6458682#6458682> -
Hi,
I have problem with embedded objects which contained embedded objects.
When I create an Object in the persistent memory and commit this object I get the following error:
ORA-22805: cannot insert NULL object into object tables or nested tables
In the constructor of my persisten object I create the embedded members in the transient memory:
ATestPersObj::ATestPersObj() : m_count(0), m_lang(NULL), m_cost(NULL) {
m_lang = new AEnumLanguage_OraType();
m_cost = new AAmount_OraType();
}Or when I dereference a reference I get this error:
ORA-00600: internal error code, arguments: [kokeicadd2], [16], [5], [], [], [], [], []
Can somebody give me a hint?
I've defined the following Type:
CREATE OR REPLACE TYPE AENUM_ORATYPE AS OBJECT (
VALUE NUMBER(10,0)
) NOT FINAL ;
CREATE OR REPLACE TYPE AENUMLANGUAGE_ORATYPE UNDER AENUM_ORATYPE (
) FINAL " );
CREATE OR REPLACE TYPE ACURRENCY_ORATYPE AS OBJECT (
ISONR NUMBER(5,0)
) FINAL ;
CREATE OR REPLACE TYPE AAMOUNT_ORATYPE AS OBJECT (
CCY ACURRENCY_ORATYPE,
LO32BITS NUMBER(10,0),
HI32BITS NUMBER(10,0)
) NOT FINAL ;
CREATE OR REPLACE TYPE ATESTPERSOBJ AS OBJECT (
COUNT NUMBER(4),
LANG AENUMLANGUAGE_ORATYPE,
COST AAMOUNT_ORATYPE
) FINAL ;
oracle::occi::Ref<ATestPersObj> pObjR = new(c.getConnPtr(), "TTESTPERSOBJ") ATestPersObj();
pObjR->setCount(i+2001);
pObjR->setLang(AEnumLanguage(i+1));
pObjR->setCost(AAmount(ACurrency(), 2.5));
c.commit();
c.execQueryRefs("SELECT REF(a) FROM TTESTPERSOBJ a", persObjListR);
len = persObjListR.size();
{for (int i = 0; i < len; i++) {
oracle::occi::Ref<ATestPersObj> pObjR = persObjListR;
pObjR->getCount();
pObjR->getLang();
c.commit();
With kind regards
Daniel
Message was edited by:
DanielF
Message was edited by:
DanielFHi,
I have problem with embedded objects which contained embedded objects.
When I create an Object in the persistent memory and commit this object I get the following error:
ORA-22805: cannot insert NULL object into object tables or nested tables
In the constructor of my persisten object I create the embedded members in the transient memory:
ATestPersObj::ATestPersObj() : m_count(0), m_lang(NULL), m_cost(NULL) {
m_lang = new AEnumLanguage_OraType();
m_cost = new AAmount_OraType();
}Or when I dereference a reference I get this error:
ORA-00600: internal error code, arguments: [kokeicadd2], [16], [5], [], [], [], [], []
Can somebody give me a hint?
I've defined the following Type:
CREATE OR REPLACE TYPE AENUM_ORATYPE AS OBJECT (
VALUE NUMBER(10,0)
) NOT FINAL ;
CREATE OR REPLACE TYPE AENUMLANGUAGE_ORATYPE UNDER AENUM_ORATYPE (
) FINAL " );
CREATE OR REPLACE TYPE ACURRENCY_ORATYPE AS OBJECT (
ISONR NUMBER(5,0)
) FINAL ;
CREATE OR REPLACE TYPE AAMOUNT_ORATYPE AS OBJECT (
CCY ACURRENCY_ORATYPE,
LO32BITS NUMBER(10,0),
HI32BITS NUMBER(10,0)
) NOT FINAL ;
CREATE OR REPLACE TYPE ATESTPERSOBJ AS OBJECT (
COUNT NUMBER(4),
LANG AENUMLANGUAGE_ORATYPE,
COST AAMOUNT_ORATYPE
) FINAL ;
oracle::occi::Ref<ATestPersObj> pObjR = new(c.getConnPtr(), "TTESTPERSOBJ") ATestPersObj();
pObjR->setCount(i+2001);
pObjR->setLang(AEnumLanguage(i+1));
pObjR->setCost(AAmount(ACurrency(), 2.5));
c.commit();
c.execQueryRefs("SELECT REF(a) FROM TTESTPERSOBJ a", persObjListR);
len = persObjListR.size();
{for (int i = 0; i < len; i++) {
oracle::occi::Ref<ATestPersObj> pObjR = persObjListR;
pObjR->getCount();
pObjR->getLang();
c.commit();
With kind regards
Daniel
Message was edited by:
DanielF
Message was edited by:
DanielF -
Problem with inherited Objects
Hi,
I have a problem with inherited objects inside Flex using
wsdl as the source of the object. The AS-classes are generated
inside Flex Builder 3.
Inside the wsdl I have 2 complex types:
<complexType abstract="true" name="PersistentObject">
<sequence>
<element name="id" nillable="true" type="xsd:string"/>
<element name="insertTimeStamp" nillable="true"
type="xsd:dateTime"/>
<element name="insertUsername" nillable="true"
type="xsd:string"/>
<element name="updateTimeStamp" nillable="true"
type="xsd:dateTime"/>
<element name="updateUsername" nillable="true"
type="xsd:string"/>
</sequence>
</complexType>
and
<complexType name="Contact">
<complexContent>
<extension base="tns3:PersistentObject">
<sequence>
<element name="birthday" nillable="true"
type="xsd:dateTime"/>
<element name="firstName" nillable="true"
type="xsd:string"/>
<element name="lastName" nillable="true"
type="xsd:string"/>
<element name="middleName" nillable="true"
type="xsd:string"/>
<element name="newPassword" nillable="true"
type="xsd:string"/>
<element name="password" nillable="true"
type="xsd:string"/>
<element name="title" nillable="true"
type="xsd:string"/>
<element name="username" nillable="true"
type="xsd:string"/>
</sequence>
</extension>
</complexContent>
</complexType>
The classes in actionscript seem plausable:
public class PersistentObject
* Constructor, initializes the type class
public function PersistentObject() {}
public var id:String;
public var insertTimeStamp:Date;
public var insertUsername:String;
public var updateTimeStamp:Date;
public var updateUsername:String;
and
public class Contact extends PersistentObject
* Constructor, initializes the type class
public function Contact() {}
public var birthday:Date;
public var firstName:String;
public var lastName:String;
public var middleName:String;
public var newPassword:String;
public var password:String;
public var title:String;
public var username:String;
When I want to retreive an object of type Contact, it seems
that only a couple of entries are filled. While debugging the flex
XMLDecoder, I noticed something strange. It seems, like the decoder
is expecting the result xml data to be in alphabetical order:
birthday, firstname, lastname, etc. But since the object is
inherited, the data that is actually received contains elements
from the parent class: birthday, firstname, id, inserttimestamp,
The resulting object has just birthday and firstname filled,
which is somehow wrong. This seems to be a problem inside the
parser itself. What can I do?I am having a problem with an extended class as well.
When I step through the code, everything is going fine and the decoder (mx.rpc.xml::XMLDecoder) sees that the class is an extension and wants to get the values for the superclass first. When it gets into getApplicableValues(), it's looking for the values to be in the order of the definition which would be ok if the values collection didn't include the values from the subclass as well! It goes through the whole definition and doesn't find anything for the superclass because the values aren't where it expects them. When it pops back up to the subclass and starts to decode those values, it finds them because the definition order and values order match.
Is this a known issue? Or, am I misunderstanding something?
Thanks,
Chuck -
Problem with shared objects synchoronization.
I encountered a small problem with shared objects.
I'm working on a program that creates chat rooms of a fixed
size of 30 users. When the 31th user comes, a new room is created.
The idea is that the client first connects to the first room
and checks if it's full by connecting to shared objects. If it is
full, connection is closed and process is reapeated on a new
instance of the application.
I use a function to connect to an instance, which takes as a
parameter a number (1 for instance room_1, 2 for room_2, etc). The
function itself creates the necessary Netconnection and
sharedObject objects.
If a room is full, Netconnections and sharedObjects are
closed and function is called again with another number.
I have no problem for connecting to the first room, but after
closing the first connection and connecting to the new room, there
seem to be some problems with the shared objects (especially,
OnSync doesn't seem to execute again after the connection to the
shared objects of the new instance).
I was wondering if you had any ideas what could cause this.
Is it the use of the same variable names for connecting at two
different shared objects?
Here is the function :
function initStreams(room) {
client_nc = new NetConnection();
client_nc.connect("rtmp://192.168.0.4/Elearning/room_"+room);
in_ns = new NetStream(client_nc);
in_ns2 = new NetStream(client_nc);
Replay_video.attachVideo(in_ns);
out_ns = new NetStream(client_nc);
out_ns2 = new NetStream(client_nc);
in_ns.play("my_recorded_stream");
users_name = SharedObject.getRemote("users_name",
_root.client_nc.uri, false);
users_name.connect(_root.client_nc);
users_language = SharedObject.getRemote("users_language",
_root.client_nc.uri, false);
users_language.connect(_root.client_nc);
users_picture = SharedObject.getRemote("users_picture",
_root.client_nc.uri, false);
users_picture.connect(_root.client_nc);
users_finger = SharedObject.getRemote("users_finger",
_root.client_nc.uri, false);
users_finger.connect(_root.client_nc);
I you need more info, I can post more of the code on the
forum.
Any help would be really appreciatedI don't see any onStatus events in the code you posted above.
If you're defining the onstatus event outside the function, that's
the problem. When you define the shared object, you also need to
define it's onStatus event handler.
Also, you really should wait for the onStatus event of the
netConnection before you connect your sharedObjects. If you try to
connect the SO before the netConnection is established, the SO will
never connect. -
hi all,
i am having a problem with activeX objects.
my activeX ( Tree View) is wrking fine with windows2000
but when i am trying the same code with XP its saying dll missing.
do these activeX depends on OS also..
plz help me.hey Vishwas!
did you register the .dll?
do you work with vb.net?
which ServicePack do you have in Windows XP?
greetz
Matthias -
i bought a iphone 3gs 4 months ago had a problem with display service centre replaced me with the phone when i checked the settings of the phone in cellular usage under call time the lifetime usage was 3 days and 18 hours.what sholud be done ?
How is your iPhone's display different?
You can check the model number by going to Settings/General/About. These are the model numbers for the various 3 GS models;
MB715LL/A (16 GB Black), MB716LL/A (16 GB White), MB717LL/A (32 GB Black), MB718LL/A (32 GB White), MC555LL/A (8GB) -
What is the problem with converting objects with gradients to gradient mesh?
What is the problem with converting objects with gradients to gradient mesh?
slange,
There may arise some smaller corruption states that may be cured by what you did, as you can see in the list. Sometimes, restarting thrice is needed.
The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
If possible/applicable, you should save curent artwork first, of course.
1) Close down Illy and open again;
2) Restart the computer (you may do that up to 3 times);
3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
Even more seriously, you may:
6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
http://www.adobe.com/support/contact/cscleanertool.html
Maybe you are looking for
-
My Iphone vibrates after upgrading to IO6 even with vibration off
After upgradin my Iphon 4 to io6 it vibrates even with vibration turned off. What gives?
-
Only sound in the front speakers, AUDIGY 2
I own an Audigy 2 ZS, I have to format my machine and then reinstall my devices but when I play a DVD I don?t hear any sound in the rear speakers or in the center speaker, I activate CMSS and configure the speakers. When I test the speakers all of th
-
My camera app wont open, My camera app wont open
My camera app will not open i tap on the application then it freezes on the camera lens anamation where it is suppost to open along with photo booth and facetime i have already tryed to turn of the ipad and then turn back on also i tryed to reset by
-
Realistic recording expectations for upcoming session
I'm doing some band recording this weekend and want to get an idea of how many inputs and Logic softsynths I can be recording simultaneously. I have an MOTU 828mkII. Our drummer will be bringing a Presonus DigiMAX that we'll be hooking to the MOTU vi
-
Calendar component validate and valueChange events in creator 2_1
Hi, I have a very simple test scenario for calendar component - two textfields + one calendar. When value changed (either via manually enter or select date from popup calendar), I want to see if validate and valueChange events get fired. ( similar to