Need debugging help: Why is JScrollPane auto-scrolling?
I'm trying to figure out why when I double-click on a cell within a JTable that's wrapped in a JScrollPane in order to open up another window, the JScrollPane automatically scrolls to the top.
Even when I update the double click operation to simply call setSelected(false), the JScrollPane still automatically scrolls to the top.
I added myself as a change listener to the scroll pane's row header view port, and captured the following stack trace.
I'm having trouble debugging exactly what is causing the following chain of events to fire. If I try to put a debug breakpoint on a method like EventQueue.invokeLater() that's probably initiating the following chain of events, I can't even get back to my application window from my IDE without having to dismiss all of the breakpoints that are reached.
If I try to follow through from the double-click to the actual JScrollPane auto-scroll, I get lost in a maze of Swing events that I can't navigate out of.
Any suggestions on how to appropriately debug this would be greatly appreciated.
Thanks,
Mike
rowHeaderViewPort stateChanged fired
chgEvent == javax.swing.event.ChangeEvent[source=javax.swing.JViewport[,1,21,0x329,invalid,layout=javax.swing.ViewportLayout,alignmentX=null,alignmentY=null,border=,flags=8,maximumSize=,minimumSize=,preferredSize=java.awt.Dimension[width=0,height=0],isViewSizeSet=false,lastPaintPosition=,scrollUnderway=false]]
chgEvent source == javax.swing.JViewport[,1,21,0x329,invalid,layout=javax.swing.ViewportLayout,alignmentX=null,alignmentY=null,border=,flags=8,maximumSize=,minimumSize=,preferredSize=java.awt.Dimension[width=0,height=0],isViewSizeSet=false,lastPaintPosition=,scrollUnderway=false]
java.lang.Exception: stack trace
at MyForm$2.stateChanged(MyForm.java:192)
at javax.swing.JViewport.fireStateChanged(JViewport.java:1341)
at javax.swing.JViewport.setViewPosition(JViewport.java:1096)
at javax.swing.ViewportLayout.layoutContainer(ViewportLayout.java:179)
at java.awt.Container.layout(Container.java:1020)
at java.awt.Container.doLayout(Container.java:1010)
at java.awt.Container.validateTree(Container.java:1092)
at java.awt.Container.validateTree(Container.java:1099)
at java.awt.Container.validateTree(Container.java:1099)
at java.awt.Container.validateTree(Container.java:1099)
at java.awt.Container.validateTree(Container.java:1099)
at java.awt.Container.validateTree(Container.java:1099)
at java.awt.Container.validateTree(Container.java:1099)
at java.awt.Container.validateTree(Container.java:1099)
at java.awt.Container.validate(Container.java:1067)
at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:353)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:116)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Thanks for your response. I examined the code and nowhere that I can see is it calling either of those two methods.
At some point, it looks like something within my code or in the UI frameworks that I'm using is invalidating my JScrollPane. I'm having a very difficult time, though, tracking down exactly which component is causing that invalidation.
Short of writing my own JScrollPane so that I can capture the stack trace of calls to invalidate(), does anyone have any suggestions for debugging this further? I tried to use a conditional breakpoint in Eclipse 2.1.3 (Component.invalidate() where the Component is an instance of JScrollPane), but my breakpoint is never being executed.
Thanks,
Mike
Similar Messages
-
JScrollPane Auto Scrolling for Teleprompter
I am working on a piece of software to scroll text for a teleprompter. I have a class that scrolls the text that is in a JEditorPane nested in a JScrollPane. Here is the class that scrolls the text:
package teleprompter;
import javax.swing.JScrollPane;
public class Scroll extends Thread
JScrollPane scrlMain;
public Scroll(JScrollPane scrlMain)
this.scrlMain = scrlMain;
public void run()
int iPos = scrlMain.getVerticalScrollBar().getValue();
for (;;)
iPos += 5;
scrlMain.getVerticalScrollBar().setValue(iPos);
}My problem is that it is not a consistent, smooth scroll so that someone can read it. It is real jumpy, sometimes it will jump an entire page. For now, the speed of the scroll can be changed by making the 5 in "iPos += 5" a higher number.
Is there a better way to do an auto scroll that is not so inconsistent and jumpy that anyone can think of?
Edited by: 879705 on Aug 18, 2011 1:40 PM879705 wrote:
I am working on a piece of software to scroll text for a teleprompter. I have a class that scrolls the text that is in a JEditorPane nested in a JScrollPane.One possibility occurred to me, although I'm no GUI expert and it maybe totally the wrong approach.
One of the characteristics of a teleprompter (at least in most Western languages) is that new text is always likely to appear at the bottom so, rather than worrying about scrolling, why not either:
(a) Set the scroll value to 100% and add new lines to the end as and when required, or
(b) Maintain the text array yourself and simply display it in a fixed area.
It seems to me that the same technique could also be combined with text animation to display a line at a time.
However, as I say, I'm no GUI expert, so feel free to laugh...
Winston -
JScrollPane auto scrolling.
Hi Friends,
Basically I want text in the JTextArea added to the JScrollPane to scroll automatically.
I have a JFrame to which I have added a horizontal JSplitPane. The Left side of the SplitPane consists of a JPanel with different components and the Right side consists of a JPanel with a JScrollPane containing the JTextArea which displays some Help/News etc.
I want this text to keep on scrolling continuously, while the user does his work on the Left side, till me application exits.
Please help me out on this.
Regards,
Ravitry this:
JScrollPane scrollPane = new JScrollPane(textArea);
textArea.setPreferredSize(new Dimension(100,300)):
scrollpane.setPreferredSize(new Dimension(82,250));
I am not sure whether it will work or not in your case.but it does work in my application.Hope it works! -
Hi! I'm new to mac so I need for help . Why when I open safari also open some pages that I don't click? What should I do ,get any cleaner ?
Please review the options below to determine which method is best to remove the Adware installed on your computer.
The Easy, safe, effective method:
http://www.adwaremedic.com/index.php
If you are comfortable doing manual file removals use the somewhat more difficult method:
http://support.apple.com/en-us/HT203987
Also read the articles below to be more prepared for the next time there is an issue on your computer.
https://discussions.apple.com/docs/DOC-7471
https://discussions.apple.com/docs/DOC-8071
http://www.thesafemac.com/tech-support-scam-pop-ups/ -
Why does snagit auto scroll not work in firefox version 3.6.8 and can it be fixed
I have used Snagit v9.1 with Firefox for a long time through many updates but when I updated to Firefox version 3.6.8 the auto scroll stoped working, I did go back to an earlier version of Firefox and it worked OK.
[http://techsmith.custhelp.com/cgi-bin/techsmith.cfg/php/enduser/std_adp.php?p_faqid=2353&p_created=1264531389&p_sid=htZsTh8k&p_accessibility=0&p_redirect=&p_lva=&p_sp=cF9zcmNoPSZwX3NvcnRfYnk9JnBfZ3JpZHNvcnQ9JnBfcm93X2NudD0xNTA5LDE1MDkmcF9wcm9kcz0mcF9jYXRzPSZwX3B2PSZwX2N2PSZwX3NlYXJjaF90eXBlPWFuc3dlcnMuc2VhcmNoX25sJnBfcGFnZT0x&p_li=&p_topview=1 Read these steps] from the Snagit support website.
-
Why the JScrollPane not scroll?
I create a dialog,then I put a JScrollPane on the dialog,after this I put a JPanel on the JScrollPane,
finally I put many checkbox on the JPanel.Due to having many checkboxes, I hope that JScrollPane can scroll,but it cannot scroll .how can I sove this problem?
the following is my code:
this.setSize(new Dimension(543, 523));
this.getContentPane().setLayout(null);
jButton3.setText("ok");
jButton3.setBounds(new Rectangle(235, 455, 95, 30));
jButton4.setText("cancel");
jButton4.setBounds(new Rectangle(395, 455, 100, 30));
// jScrollPane1.setBounds(new Rectangle(0, 20, 515, 1195));
// jScrollPane1.setAutoscrolls(true);
jPanel1.setBackground(Color.cyan);
jPanel1.setLayout(null);
jPanel1.setAutoscrolls(true);
jPanel1.setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED));
jCheckBox1.setText("attrib_manager");
jCheckBox1.setBounds(new Rectangle(10, 10, 110, 25));
������������
jCheckBox66.setBounds(new Rectangle(205, 1120, 97, 26));
jCheckBox66.setEnabled(false);
������������
jPanel1.add(jCheckBox66, null);
jPanel1.add(jCheckBox1, null);
JScrollPane jScrollPane1 = new JScrollPane(jPanel1);
jScrollPane1.setBounds(new Rectangle(0, 20, 515, 425));
jScrollPane1.setAutoscrolls(true);
jScrollPane1.getViewport().add(jPanel1, null);
this.getContentPane().add(jScrollPane1, null);
this.getContentPane().add(jButton4, null);
this.getContentPane().add(jButton3, null);You have to set size of your panel.
override method getPrefferedSize() of panel. This methd should return correct size of content.
best regadrs
Stas -
Hi All
I am learning Plugins developement for InDesign CS2. In the SDK there is a ww-plugins.pdf, in which it mentioned how we will develop a plugins. I have tried but not able to do it. When I am making plugins the following error I am getting. I know it is a simple project settings.
================================================
Could not find or load the file WFPActionComponent.cpp for target Debug for project WFP.mcp.
Could not find or load the file WFPDialogController.cpp for target Debug for project WFP.mcp.
Could not find or load the file WFPDialogObserver.cpp for target Debug for project WFP.mcp.
Could not find or load the file WFPNoStrip.cpp for target Debug for project WFP.mcp.
Could not find or load the file WFPID.cpp for target Debug for project WFP.mcp.
Could not find or load the file WFP.fr for target Debug for project WFP.mcp.
Could not find or load the file PublicPluginDbg.Lib for target Debug for project WFP.mcp.
Could not find or load the file PMMSLRuntimeDbg.Lib for target Debug for project WFP.mcp.
Could not find or load the file PMGlobalChainDbg.Lib for target Debug for project WFP.mcp.
Could not find or load the file SDKPlugInEntrypoint.cpp for target Debug for project WFP.mcp.
Could not find or load the file SDKInfoButton.r for target Debug for project WFP.mcp.
===============================================
Below are the path settings
Target Setting: {project}../debug/SDK.
Please someone help me.
Thanks
Rajeev KumarHi
I am again back to give some more inputs.
As I import the project below Notification/Errors I am getting. I think you well uderstand by this.
==================================
The following access path in target Debug of project WriteFishPrice.mcp cannot be found:
{Project}../../../source/precomp/codewarrior/(debug)
The following access path in target Debug of project WriteFishPrice.mcp cannot be found:
{Project}../../../source/precomp
The following access path in target Debug of project WriteFishPrice.mcp cannot be found:
{Project}../../../source/public/interfaces
The following access path in target Debug of project WriteFishPrice.mcp cannot be found:
{Project}../../../source/public/includes
The following access path in target Debug of project WriteFishPrice.mcp cannot be found:
{Project}../../../source/public/widgets/includes
The following access path in target Debug of project WriteFishPrice.mcp cannot be found:
{Project}../../../source/sdksamples/common
The following access path in target Debug of project WriteFishPrice.mcp cannot be found:
{Project}../../../build/mac/debug
The following access path in target Debug of project WriteFishPrice.mcp cannot be found:
{Project}../../../external/afl/includes
The following access path in target Debug of project WriteFishPrice.mcp cannot be found:
{Project}../../../external/boost
The following access path in target Debug of project WriteFishPrice.mcp cannot be found:
{Project}../../../build/mac/debug/packagefolder/contents/macos
The following access path in target Release of project WriteFishPrice.mcp cannot be found:
{Project}../../../source/precomp/CodeWarrior/(Release)
The following access path in target Release of project WriteFishPrice.mcp cannot be found:
{Project}../../../source/precomp
The following access path in target Release of project WriteFishPrice.mcp cannot be found:
{Project}../../../source/public/interfaces
The following access path in target Release of project WriteFishPrice.mcp cannot be found:
{Project}../../../source/public/includes
The following access path in target Release of project WriteFishPrice.mcp cannot be found:
{Project}../../../source/public/widgets/includes
The following access path in target Release of project WriteFishPrice.mcp cannot be found:
{Project}../../../source/sdksamples/common
The following access path in target Release of project WriteFishPrice.mcp cannot be found:
{Project}../../../build/mac/release
The following access path in target Release of project WriteFishPrice.mcp cannot be found:
{Project}../../../external/afl/includes
The following access path in target Release of project WriteFishPrice.mcp cannot be found:
{Project}../../../external/boost
The following access path in target Release of project WriteFishPrice.mcp cannot be found:
{Project}../../../build/mac/release/packagefolder/contents/macos
================================
Please suggest me.
Thanks
Rajeev -
Need Debugging Help, Please
Hi, I am going to bother you after my fruitless attempts to debug the code shown below. The message is "NoSuchMethodError: value" and I am very confused by the message.
The message on the console is:
Exception in thread "Main Thread" java.lang.NoSuchMethodError: value
at com.sun.xml.bind.v2.model.impl.ClassInfoImpl.getAccessType(ClassInfoImpl.java:339)
at com.sun.xml.bind.v2.model.impl.ClassInfoImpl.getProperties(ClassInfoImpl.java:228)
at com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.getProperties(RuntimeClassInfoImpl.java:87)
at com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:127)
at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:49)
at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:41)
at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:189)
at com.sun.xml.bind.v2.model.impl.RegistryInfoImpl.<init>(RegistryInfoImpl.java:51)
at com.sun.xml.bind.v2.model.impl.ModelBuilder.addRegistry(ModelBuilder.java:232)
at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:201)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:327)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:198)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:76)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:55)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:124)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:133)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:286)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:244)
at com.register.jaxb.JAXBUnMarshaller.unMarshall(JAXBUnMarshaller.java:18)
at com.register.jaxb.JAXBUnMarshaller.main(JAXBUnMarshaller.java:64)
and the source code is shown below:
package com.register.jaxb;
import generated.*;
import javax.xml.bind.*;
import javax.xml.validation.SchemaFactory;
import javax.xml.validation.Schema;
import org.xml.sax.SAXException;
import java.io.*;
import java.util.List;
public class JAXBUnMarshaller {
public void unMarshall(File xmlDocument) {
try {
JAXBContext jaxbContext = JAXBContext.newInstance("generated");
Unmarshaller unMarshaller = jaxbContext.createUnmarshaller(); // this line is java:18
SchemaFactory schemaFactory = SchemaFactory
.newInstance("http://www.w3.org/2001/XMLSchema");
Schema schema = schemaFactory.newSchema(new File(
"gen_source/catalog.xsd"));
unMarshaller.setSchema(schema);
CustomValidationEventHandler validationEventHandler = new CustomValidationEventHandler();
unMarshaller.setEventHandler(validationEventHandler);
JAXBElement<CatalogType> catalogElement = (JAXBElement<CatalogType>) unMarshaller
.unmarshal(xmlDocument);
CatalogType catalog = catalogElement.getValue();
System.out.println("Journal Title: " + catalog.getJournalTitle());
System.out.println("Publisher: " + catalog.getPublisher());
List<JournalType> journalList = catalog.getJournal();
for (int i = 0; i < journalList.size(); i++) {
JournalType journal = (JournalType) journalList.get(i);
List<ArticleType> articleList = journal.getArticle();
for (int j = 0; j < articleList.size(); j++) {
ArticleType article = (ArticleType) articleList.get(j);
System.out.println("Article Edition: "
+ article.getEdition());
System.out.println("Title: " + article.getTitle());
System.out.println("Author: " + article.getAuthor());
} catch (JAXBException e) {
System.out.println(e.toString());
} catch (SAXException e) {
System.out.println(e.toString());
public static void main(String[] argv) {
File xmlDocument = new File("catalog.xml");
JAXBUnMarshaller jaxbUnmarshaller = new JAXBUnMarshaller();
jaxbUnmarshaller.unMarshall(xmlDocument);
} // this line is java:64
class CustomValidationEventHandler implements ValidationEventHandler {
public boolean handleEvent(ValidationEvent event) {
if (event.getSeverity() == ValidationEvent.WARNING) {
return true;
if ((event.getSeverity() == ValidationEvent.ERROR)
|| (event.getSeverity() == ValidationEvent.FATAL_ERROR)) {
System.out.println("Validation Error:" + event.getMessage());
ValidationEventLocator locator = event.getLocator();
System.out.println("at line number:" + locator.getLineNumber());
System.out.println("Unmarshalling Terminated");
return false;
return true;
}user537770 wrote:
Hi, I am going to bother you after my fruitless attempts to debug the code shown below. The message is "NoSuchMethodError: value" and I am very confused by the message. When you post code, please put it in code tags (you can find an example on the FAQ page, or in the welcome pages at the top of the thread).
As for your problem, I'm way out of my comfort zone here, but the source code for ClassInfoImpl would suggest that the 'value' method is being invoked on an annotation called 'XmlAccessorType'; and since annotations only came in with version 5, I'm wondering if you have some sort of jar/jdk/jvm incompatibility. You might want to check that all of these are in sync.
Winston -
I am new to Flex (been a CFer for years) and I am playing with Flex hoping to learn it. I just started messing with it and ran into an error right away. I am hoping somepone out there can point me in the right direction for this cryptic error message...
Here is my simple Flex code...
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<s:SkinnableContainer x="59" y="78" width="200" height="200" id="container">
<s:Button x="88" y="72" label="Play" id="play" enabled="true" click="http://97.91.79.206:8000/listen.pls" fontFamily="Verdana"/>
</s:SkinnableContainer>
</s:Application>
The error is 1084: Syntax error: expecting identifier before end of program.
So what does that mean?
Thanks,
~ClayDuh! Thanks....I should have noticed that myself. Followup question for ya...What I am trying to accomplish/build while learning Flex is create a simple AIR app that plays a stream from shout cast (the stream is located at the url I put in the click event). Are there any resources you can point me to that will guide me in how to accomplish this?
-
Can a one please help me turn off auto play for Facebook the option is no longer in my General settings why is this ?
And yet the link you posted only tells you how to do it on the Facebook App for Android. Nothing about the Facebook page is mentioned at all, or how to do it on an iPhone.
With that said, and assuming you have the most up to date version of the Facebook App, you can now turn the auto play feature Off within the Facebook App itself. Tap on the "More" icon on the bottom right, then scroll down to Settings->Videos and Photos->Auto Play. If Smart auto-Play is on turn it off. Then you can set the check mark on "Never Play Videos Automatically" which is the same as Off. -
Auto Scroll is checked in the advanced settings/options, but still not working. Arrow keys do work to scroll, but I do not use those....So far I'm not impressed with the updated firefox! Not liking the way it's set up!!
Not sure whether this link can help:
https://support.mozilla.com/en-US/questions/874268?s=trackpad+scroll&r=1&as=s -
Need some help in debugging this exported script
Below is DDL generated by visio forward engineering tool . The example below consists of 2 test tables with one foreign key.
Forward engineering generated DDL script
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Table1]') AND type in (N'U'))
DROP TABLE [dbo].[Table1]
GO
CREATE TABLE [dbo].[Table1] (
[test] CHAR(10) NOT NULL
, [test2] CHAR(10) NULL
GO
ALTER TABLE [dbo].[Table1] ADD CONSTRAINT [Table1_PK] PRIMARY KEY CLUSTERED (
[test]
GO
GO
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Table2]') AND type in (N'U'))
DROP TABLE [dbo].[Table2]
GO
CREATE TABLE [dbo].[Table2] (
[test2] CHAR(10) NOT NULL
GO
ALTER TABLE [dbo].[Table2] ADD CONSTRAINT [Table2_PK] PRIMARY KEY CLUSTERED (
[test2]
GO
GO
ALTER TABLE [dbo].[Table1] WITH CHECK ADD CONSTRAINT [Table2_Table1_FK1] FOREIGN KEY (
[test2]
REFERENCES [dbo].[Table2] (
[test2]
GO
GO
When i converted this DDL script using scratch editor the migration tool gave some errors can anyone help me to resolve below
DECLARE
v_temp NUMBER(1, 0) := 0;
BEGIN
BEGIN
SELECT 1 INTO v_temp
FROM DUAL
WHERE EXISTS ( SELECT *
FROM objects
WHERE OBJECT_ID_ = NULL/*TODO:OBJECT_ID(N'[OPS].[Table1]')*/
AND TYPE IN ( N'U' )
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
IF v_temp = 1 THEN
TRUNCATE TABLE Table1;
END IF;
END;
CREATE TABLE Table1
test CHAR(10) NOT NULL,
test2 CHAR(10)
ALTER TABLE Table1
ADD
CONSTRAINT Table1_PK PRIMARY KEY( test );
--SQLDEV:Following Line Not Recognized
DECLARE
v_temp NUMBER(1, 0) := 0;
BEGIN
BEGIN
SELECT 1 INTO v_temp
FROM DUAL
WHERE EXISTS ( SELECT *
FROM objects
WHERE OBJECT_ID_ = NULL/*TODO:OBJECT_ID(N'[OPS].[Table2]')*/
AND TYPE IN ( N'U' )
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
IF v_temp = 1 THEN
TRUNCATE TABLE Table2;
END IF;
END;
CREATE TABLE Table2
test2 CHAR(10) NOT NULL
ALTER TABLE Table2
ADD
CONSTRAINT Table2_PK PRIMARY KEY( test2 );
--SQLDEV:Following Line Not Recognized
ALTER TABLE Table1
ADD
CONSTRAINT Table2_Table1_FK1 FOREIGN KEY( test2 ) REFERENCES Table2 (test2)
--SQLDEV:Following Line Not Recognized
;Pl do not post duplicates - Need some help in debugging this script
-
When in Firefox 23.0's history/library window when I am browsing it will auto-scroll to the top of "Today" page making it frustrating and difficult to browse. I do not seem to recall this being the case before. I disabled "auto-scroll" in options and this has not remedied the problem.
Hello,
Try disabling graphics hardware acceleration. Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.
You might need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
Then perform these steps:
*Click the orange Firefox button at the top left, then select the "Options" button, or, if there is no Firefox button at the top, go to Tools > Options.
*In the Firefox options window click the ''Advanced'' tab, then select "General".
*In the settings list, you should find the ''Use hardware acceleration when available'' checkbox. Uncheck this checkbox.
*Now, restart Firefox and see if the problems persist.
Additionally, please check for updates for your graphics driver by following the steps mentioned in the following Knowledge base articles:
* [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]
* [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]
Did this fix your problems? Please report back to us!
Thank you. -
Debugging - need configuration help
I also posted this in Advanced Techniques by accident...
I need some help configuring my local development machine for CFBuilder debugging. CF application development is configured correctly, but I'm having problems configuring debugging settings for CFBuilder/Eclipse. CFBuilder is installed and connected to RDS, and the CF Administrator is setup to do line level debugging. I'm running Windows 7 x64 with ColdFusion 9 (using IIS).
All my projects are in my "C:\Dev" folder, and each project contains a "www" folder, which is the web root for the project. So I've got my projects organized like this:
C:\Dev
TestSite
design
docs
www <--- web root folder
I've created a ColdFusion project and mapped it directly to the "www" root folder. In IIS, the web root folder is mapped via a virtual directory under the default web site, and is accessed from "http://127.0.0.1/testsite"
I configured my RDS Server, which works correctly, so I can see the databases on the server. Nice. I also setup a server in the servers list in the coldfusion perspective and imported the settings directly from my RDS server. This one has the same name as my RDS server, which is "Local RDS Server." I also added a URL Prefix for "testsite" that is mapped to the local path: (C:\Dev\TestSite\www) and "http:\\127.0.0.1\testsite. And finally, in the Debug Mappings (preferences window), I specified "Local RDS Server."
Everything seems to be setup, but I still cannot debug. Here's what happens:
From the ColdFusion perspective, I right click on index.cfm and select "Debug As -> ColdFusion Application" The first time I do this, it switches over to the ColdFusion Debugging Perspective and loads "http://homepage/" and then nothing seems to work. In the Debug tab, it shows me that it created a new launch for my project as follows:
TestSite
Local RDS Server
ColdFusion Template
I can see my breakpoint in my breakpoints tab. But I can't seem to get any farther. I can't find a way to run to my breakpoint.The home page for the active debugging session is "http://homepage/" which is something that I don't understand. How do I make CFBuilder go to the correct home page for the debugging session? That might be the key.My previous post had to do with migrating an eclipse project over to a coldfusion project... that was my first one. I was finally able to get running under the debugger. Very nice!! I'm so happy to have a debugger available now!!!!
I just started setting up my next project, but I'm stumped. When I right-click on this new project, and I go to properties, and then click on my ColdFusion Server Settings pane, I want to be able to specify the address to use for debugging, which I would assume should be in the "Sample URL" field. But the field is disabled and it says "Sample URL is not available. (Project is not in document root of server Local RDS Server).
Local RDS Server is the local RDS server I setup, but I see where I specify a document root for the RDS server... I just specify a Host Name, which is my local IP address for my projects.
Any ideas? -
Hi Someone Know why my charger is not working properly but always it was been working good but now when conect my iphone (3gs) appears a golden triangle saying :Charging is not Supported with this accessory. Please I Need Some Help Here. Thanks =D
sounds like the cable or the iphone connector are somehow damaged
Maybe you are looking for
-
The USB ports on my 30" Cinema HD display appear to not work. The monitor has not been used for almost a year, when I upgraded to a new Mac Book Pro and the 27" retina display. Now I need to move the computer back and forth between two locations us
-
I can't use the sleep functions, is it a bug?
i just updated my Ipod to 1.2 .And i found the sleep function is not available. there is no menu to set the sleep time. when i put the sleep menu , my nano turns off immediately. is it a software bug?
-
Hi, I have created portal page links and I and using the hbj:link to place them on the page. When I click the link, I go to the proper page, but the first and second level navigation do not refresh. What do I have to do to accomplish that so it ref
-
HT201335 Airplay Mirroring for HBO Go or Amazon Instant Video
When I try to stream HBO Go or Amazon Instant Video from my Ipad to my Apple TV, the image starts then stops and states, "Watching videos with AirPlay or through HDMI isn't currently available with this app." Then, the sound comes through the televis
-
Changed my mind from black to white
I recently decided to buy a macbook and decided to get the black one. however, i have changed my mind and decided to go for the white. heres why... saw both in the shop and noticed that the two tone white (white case, off white keyboard area) looks v